2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-09-02 15:45:25 +00:00

add POST(tl)

This commit is contained in:
Mark Andrews
2018-02-15 16:21:57 +11:00
parent a0720c9e56
commit a46e90b2b7
2 changed files with 4 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
/* /*
* Copyright (C) 1998-2017 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 1998-2018 Internet Systems Consortium, Inc. ("ISC")
* *
* This Source Code Form is subject to the terms of the Mozilla Public * This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this * License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -1460,6 +1460,7 @@ txt_totext(isc_region_t *source, isc_boolean_t quote, isc_buffer_t *target) {
return (ISC_R_NOSPACE); return (ISC_R_NOSPACE);
*tp++ = '"'; *tp++ = '"';
tl--; tl--;
POST(tl);
} }
isc_buffer_add(target, (unsigned int)(tp - (char *)region.base)); isc_buffer_add(target, (unsigned int)(tp - (char *)region.base));
isc_region_consume(source, *source->base + 1); isc_region_consume(source, *source->base + 1);
@@ -1610,6 +1611,7 @@ multitxt_totext(isc_region_t *source, isc_buffer_t *target) {
return (ISC_R_NOSPACE); return (ISC_R_NOSPACE);
*tp++ = '"'; *tp++ = '"';
tl--; tl--;
POST(tl);
isc_buffer_add(target, (unsigned int)(tp - (char *)region.base)); isc_buffer_add(target, (unsigned int)(tp - (char *)region.base));
return (ISC_R_SUCCESS); return (ISC_R_SUCCESS);
} }

View File

@@ -3485,7 +3485,7 @@
./lib/dns/rbtdb64.c C 1999,2000,2001,2004,2005,2007,2016 ./lib/dns/rbtdb64.c C 1999,2000,2001,2004,2005,2007,2016
./lib/dns/rbtdb64.h C 1999,2000,2001,2004,2005,2007,2016 ./lib/dns/rbtdb64.h C 1999,2000,2001,2004,2005,2007,2016
./lib/dns/rcode.c C 1998,1999,2000,2001,2002,2003,2004,2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016,2017 ./lib/dns/rcode.c C 1998,1999,2000,2001,2002,2003,2004,2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016,2017
./lib/dns/rdata.c C 1998,1999,2000,2001,2002,2003,2004,2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016,2017 ./lib/dns/rdata.c C 1998,1999,2000,2001,2002,2003,2004,2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016,2017,2018
./lib/dns/rdata/any_255/tsig_250.c C 1999,2000,2001,2002,2003,2004,2005,2007,2009,2011,2012,2015,2016,2017 ./lib/dns/rdata/any_255/tsig_250.c C 1999,2000,2001,2002,2003,2004,2005,2007,2009,2011,2012,2015,2016,2017
./lib/dns/rdata/any_255/tsig_250.h C 1999,2000,2001,2004,2005,2007,2016 ./lib/dns/rdata/any_255/tsig_250.h C 1999,2000,2001,2004,2005,2007,2016
./lib/dns/rdata/ch_3/a_1.c C 2005,2007,2009,2014,2015,2016,2017 ./lib/dns/rdata/ch_3/a_1.c C 2005,2007,2009,2014,2015,2016,2017