mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 13:38:26 +00:00
fix spelling error
This commit is contained in:
parent
25e43e68b7
commit
2e715dbdc2
@ -247,7 +247,7 @@ totext_ctx_init(const dns_master_style_t *style, dns_totext_ctx_t *ctx)
|
||||
|
||||
isc_buffer_available(&buf, &r);
|
||||
if (r.length < 1)
|
||||
return (DNS_R_TEXTTOLONG);
|
||||
return (DNS_R_TEXTTOOLONG);
|
||||
r.base[0] = '\n';
|
||||
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
|
||||
* dump_rdataset() retry indenfinitely with ever
|
||||
* 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)
|
||||
return (DNS_R_TEXTTOLONG);
|
||||
return (DNS_R_TEXTTOOLONG);
|
||||
if (result != DNS_R_SUCCESS)
|
||||
return (result);
|
||||
|
||||
isc_buffer_available(&buf, &r);
|
||||
if (r.length < 1)
|
||||
return (DNS_R_TEXTTOLONG);
|
||||
return (DNS_R_TEXTTOOLONG);
|
||||
r.base[0] = '\0';
|
||||
isc_buffer_add(&buf, 1);
|
||||
ctx->linebreak = ctx->linebreak_buf;
|
||||
|
@ -500,7 +500,7 @@ struct dns_errormap {
|
||||
{ DNS_R_NOMORE, "DNS_R_NOMORE" },
|
||||
{ DNS_R_EXTRATOKEN, "DNS_R_EXTRATOKEN" },
|
||||
{ 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_EXISTS, "DNS_R_EXISTS" },
|
||||
{ DNS_R_NOTFOUND, "DNS_R_NOTFOUND" },
|
||||
|
Loading…
x
Reference in New Issue
Block a user