mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-25 08:07:12 -04:00
fix spelling error
This commit is contained in:
parent
25e43e68b7
commit
2e715dbdc2
2 changed files with 5 additions and 5 deletions
|
|
@ -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…
Reference in a new issue