* information regarding copyright ownership.
*/
-/* $Id$ */
-
/*! \file */
#include <config.h>
if (MANYERRS(lctx, result)) {
SETRESULT(lctx, result);
lctx->ttl = 0;
- } else if (result != ISC_R_SUCCESS)
+ } else {
goto insist_and_cleanup;
+ }
} else if (!explicit_ttl &&
lctx->default_ttl_known) {
lctx->ttl = lctx->default_ttl;
result = DNS_R_SYNTAX;
if (MANYERRS(lctx, result)) {
SETRESULT(lctx, result);
- } else if (result != ISC_R_SUCCESS)
+ } else {
goto insist_and_cleanup;
+ }
}
/*
SETRESULT(lctx, result);
LOGIT(result);
continue;
- } else if (result != ISC_R_SUCCESS)
+ } else {
goto insist_and_cleanup;
+ }
}
/*
SETRESULT(lctx, result);
read_till_eol = ISC_TRUE;
continue;
- } else if (result != ISC_R_SUCCESS)
+ } else {
goto insist_and_cleanup;
+ }
}
if (ictx->origin_changed) {
SETRESULT(lctx, result);
read_till_eol = ISC_TRUE;
continue;
- } else if (result != ISC_R_SUCCESS)
+ } else {
goto insist_and_cleanup;
+ }
}
if (rdclass == 0 &&
SETRESULT(lctx, result);
read_till_eol = ISC_TRUE;
continue;
- } else if (result != ISC_R_SUCCESS)
+ } else {
goto insist_and_cleanup;
+ }
}
result = dns_rdatatype_fromtext(&type,
SETRESULT(lctx, result);
read_till_eol = ISC_TRUE;
continue;
- } else if (result != ISC_R_SUCCESS)
+ } else {
goto insist_and_cleanup;
+ }
}
if (type == dns_rdatatype_ns && ictx->glue == NULL)
namebuf, desc);
if (MANYERRS(lctx, result)) {
SETRESULT(lctx, result);
- } else if (result != ISC_R_SUCCESS)
+ } else {
goto cleanup;
+ }
} else {
(*callbacks->warn)(callbacks,
"%s:%lu: %s: %s",
read_till_eol = ISC_TRUE;
target = target_ft;
continue;
- } else if (result != ISC_R_SUCCESS)
+ } else {
goto insist_and_cleanup;
+ }
}
if (type == dns_rdatatype_rrsig ||