From f135697100066e60c2c99ab61dda4bc68d7e8d2c Mon Sep 17 00:00:00 2001 From: Brian Wellington Date: Fri, 5 Jan 2001 01:02:47 +0000 Subject: [PATCH] Log a message when dns_rdata_fromtext() fails. --- lib/dns/master.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/dns/master.c b/lib/dns/master.c index 19ccd99e9a..9e8e294fea 100644 --- a/lib/dns/master.c +++ b/lib/dns/master.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: master.c,v 1.90 2001/01/04 23:43:53 marka Exp $ */ +/* $Id: master.c,v 1.91 2001/01/05 01:02:47 bwelling Exp $ */ #include @@ -1204,7 +1204,7 @@ load(dns_loadctx_t **ctxp) { == ISC_R_SUCCESS) GETTOKEN(ctx->lex, 0, &token, ISC_FALSE); - if (token.type != isc_tokentype_string) { + if (token.type != isc_tokentype_string) { UNEXPECTED_ERROR(__FILE__, __LINE__, "isc_lex_gettoken() returned unexpected token type"); result = ISC_R_UNEXPECTED; @@ -1287,7 +1287,7 @@ load(dns_loadctx_t **ctxp) { ctx->lex, ctx->origin, ISC_FALSE, ctx->mctx, &target, callbacks); if (result != ISC_R_SUCCESS) - goto insist_and_cleanup; + goto log_and_cleanup; if (type == dns_rdatatype_sig) covers = dns_rdata_covers(&rdata[rdcount]); else