mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-08 21:12:05 -04:00
spelling & style
This commit is contained in:
parent
33e49e8fdc
commit
7e93abafe6
1 changed files with 6 additions and 5 deletions
|
|
@ -15,7 +15,7 @@
|
|||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: master.c,v 1.118 2001/06/05 05:12:47 marka Exp $ */
|
||||
/* $Id: master.c,v 1.119 2001/06/05 06:34:45 bwelling Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
|
@ -802,7 +802,7 @@ load(dns_loadctx_t *lctx) {
|
|||
char *rhs = NULL;
|
||||
const char *source = "";
|
||||
unsigned long line = 0;
|
||||
isc_boolean_t explict_ttl;
|
||||
isc_boolean_t explicit_ttl;
|
||||
|
||||
REQUIRE(DNS_LCTX_VALID(lctx));
|
||||
callbacks = lctx->callbacks;
|
||||
|
|
@ -1271,11 +1271,12 @@ load(dns_loadctx_t *lctx) {
|
|||
== ISC_R_SUCCESS)
|
||||
GETTOKEN(lctx->lex, 0, &token, ISC_FALSE);
|
||||
|
||||
explict_ttl = ISC_FALSE;
|
||||
explicit_ttl = ISC_FALSE;
|
||||
if (dns_ttl_fromtext(&token.value.as_textregion, &lctx->ttl)
|
||||
== ISC_R_SUCCESS) {
|
||||
limit_ttl(callbacks, source, line, &lctx->ttl);
|
||||
explict_ttl = lctx->ttl_known = ISC_TRUE;
|
||||
explicit_ttl = ISC_TRUE;
|
||||
lctx->ttl_known = ISC_TRUE;
|
||||
GETTOKEN(lctx->lex, 0, &token, ISC_FALSE);
|
||||
}
|
||||
|
||||
|
|
@ -1419,7 +1420,7 @@ load(dns_loadctx_t *lctx) {
|
|||
}
|
||||
} else if (lctx->default_ttl_known) {
|
||||
lctx->ttl = lctx->default_ttl;
|
||||
} else if (!explict_ttl && lctx->warn_1035) {
|
||||
} else if (!explicit_ttl && lctx->warn_1035) {
|
||||
(*callbacks->warn)(callbacks,
|
||||
"%s: %s:%lu: "
|
||||
"using RFC 1035 TTL semantics",
|
||||
|
|
|
|||
Loading…
Reference in a new issue