From 2e715dbdc263f859c01b57a9d733c1dfbf28b90e Mon Sep 17 00:00:00 2001 From: Bob Halley Date: Sat, 24 Jul 1999 00:59:55 +0000 Subject: [PATCH] fix spelling error --- lib/dns/masterdump.c | 8 ++++---- lib/tests/t_api.c | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/dns/masterdump.c b/lib/dns/masterdump.c index 3478f58da5..9881ea6983 100644 --- a/lib/dns/masterdump.c +++ b/lib/dns/masterdump.c @@ -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; diff --git a/lib/tests/t_api.c b/lib/tests/t_api.c index 08b6c2da7b..6b2351546a 100644 --- a/lib/tests/t_api.c +++ b/lib/tests/t_api.c @@ -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" },