2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 13:38:26 +00:00

2511. [cleanup] dns_rdata_tofmttext() add const to linebreak.

[RT #18885]
This commit is contained in:
Mark Andrews 2008-12-12 04:37:24 +00:00
parent a8a8e73121
commit a5746c4ec1
3 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,6 @@
2511. [cleanup] dns_rdata_tofmttext() add const to linebreak.
[RT #18885]
2510. [bug] "dig +sigchase" could trigger REQUIRE failures. 2510. [bug] "dig +sigchase" could trigger REQUIRE failures.
[RT #19033] [RT #19033]

View File

@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE. * PERFORMANCE OF THIS SOFTWARE.
*/ */
/* $Id: rdata.h,v 1.70 2008/04/02 02:37:42 marka Exp $ */ /* $Id: rdata.h,v 1.71 2008/12/12 04:37:24 marka Exp $ */
#ifndef DNS_RDATA_H #ifndef DNS_RDATA_H
#define DNS_RDATA_H 1 #define DNS_RDATA_H 1
@ -385,7 +385,8 @@ dns_rdata_totext(dns_rdata_t *rdata, dns_name_t *origin, isc_buffer_t *target);
isc_result_t isc_result_t
dns_rdata_tofmttext(dns_rdata_t *rdata, dns_name_t *origin, unsigned int flags, dns_rdata_tofmttext(dns_rdata_t *rdata, dns_name_t *origin, unsigned int flags,
unsigned int width, char *linebreak, isc_buffer_t *target); unsigned int width, const char *linebreak,
isc_buffer_t *target);
/*%< /*%<
* Like dns_rdata_totext, but do formatted output suitable for * Like dns_rdata_totext, but do formatted output suitable for
* database dumps. This is intended for use by dns_db_dump(); * database dumps. This is intended for use by dns_db_dump();

View File

@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE. * PERFORMANCE OF THIS SOFTWARE.
*/ */
/* $Id: rdata.c,v 1.199 2008/09/24 02:46:22 marka Exp $ */ /* $Id: rdata.c,v 1.200 2008/12/12 04:37:23 marka Exp $ */
/*! \file */ /*! \file */
@ -735,7 +735,7 @@ dns_rdata_totext(dns_rdata_t *rdata, dns_name_t *origin, isc_buffer_t *target)
isc_result_t isc_result_t
dns_rdata_tofmttext(dns_rdata_t *rdata, dns_name_t *origin, dns_rdata_tofmttext(dns_rdata_t *rdata, dns_name_t *origin,
unsigned int flags, unsigned int width, unsigned int flags, unsigned int width,
char *linebreak, isc_buffer_t *target) const char *linebreak, isc_buffer_t *target)
{ {
dns_rdata_textctx_t tctx; dns_rdata_textctx_t tctx;