mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 14:07:59 +00:00
fix spelling error
This commit is contained in:
@@ -247,7 +247,7 @@ totext_ctx_init(const dns_master_style_t *style, dns_totext_ctx_t *ctx)
|
|||||||
|
|
||||||
isc_buffer_available(&buf, &r);
|
isc_buffer_available(&buf, &r);
|
||||||
if (r.length < 1)
|
if (r.length < 1)
|
||||||
return (DNS_R_TEXTTOLONG);
|
return (DNS_R_TEXTTOOLONG);
|
||||||
r.base[0] = '\n';
|
r.base[0] = '\n';
|
||||||
isc_buffer_add(&buf, 1);
|
isc_buffer_add(&buf, 1);
|
||||||
|
|
||||||
@@ -258,16 +258,16 @@ totext_ctx_init(const dns_master_style_t *style, dns_totext_ctx_t *ctx)
|
|||||||
* buffer is too small, because that would just make
|
* buffer is too small, because that would just make
|
||||||
* dump_rdataset() retry indenfinitely with ever
|
* dump_rdataset() retry indenfinitely with ever
|
||||||
* bigger target buffers. That's a different buffer,
|
* bigger target buffers. That's a different buffer,
|
||||||
* so it won't help. Use DNS_R_TEXTTOLONG as a substitute.
|
* so it won't help. Use DNS_R_TEXTTOOLONG as a substitute.
|
||||||
*/
|
*/
|
||||||
if (result == DNS_R_NOSPACE)
|
if (result == DNS_R_NOSPACE)
|
||||||
return (DNS_R_TEXTTOLONG);
|
return (DNS_R_TEXTTOOLONG);
|
||||||
if (result != DNS_R_SUCCESS)
|
if (result != DNS_R_SUCCESS)
|
||||||
return (result);
|
return (result);
|
||||||
|
|
||||||
isc_buffer_available(&buf, &r);
|
isc_buffer_available(&buf, &r);
|
||||||
if (r.length < 1)
|
if (r.length < 1)
|
||||||
return (DNS_R_TEXTTOLONG);
|
return (DNS_R_TEXTTOOLONG);
|
||||||
r.base[0] = '\0';
|
r.base[0] = '\0';
|
||||||
isc_buffer_add(&buf, 1);
|
isc_buffer_add(&buf, 1);
|
||||||
ctx->linebreak = ctx->linebreak_buf;
|
ctx->linebreak = ctx->linebreak_buf;
|
||||||
|
@@ -500,7 +500,7 @@ struct dns_errormap {
|
|||||||
{ DNS_R_NOMORE, "DNS_R_NOMORE" },
|
{ DNS_R_NOMORE, "DNS_R_NOMORE" },
|
||||||
{ DNS_R_EXTRATOKEN, "DNS_R_EXTRATOKEN" },
|
{ DNS_R_EXTRATOKEN, "DNS_R_EXTRATOKEN" },
|
||||||
{ DNS_R_EXTRADATA, "DNS_R_EXTRADATA" },
|
{ DNS_R_EXTRADATA, "DNS_R_EXTRADATA" },
|
||||||
{ DNS_R_TEXTTOLONG, "DNS_R_TEXTTOLONG" },
|
{ DNS_R_TEXTTOOLONG, "DNS_R_TEXTTOOLONG" },
|
||||||
{ DNS_R_RANGE, "DNS_R_RANGE" },
|
{ DNS_R_RANGE, "DNS_R_RANGE" },
|
||||||
{ DNS_R_EXISTS, "DNS_R_EXISTS" },
|
{ DNS_R_EXISTS, "DNS_R_EXISTS" },
|
||||||
{ DNS_R_NOTFOUND, "DNS_R_NOTFOUND" },
|
{ DNS_R_NOTFOUND, "DNS_R_NOTFOUND" },
|
||||||
|
Reference in New Issue
Block a user