<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" []>
<!--
- - Copyright (C) 2004-2010, 2013 Internet Systems Consortium, Inc. ("ISC")
+ - Copyright (C) 2004-2010, 2013, 2014 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2000-2003 Internet Software Consortium.
-
- Permission to use, copy, modify, and/or distribute this software for any
<year>2009</year>
<year>2010</year>
<year>2013</year>
+ <year>2014</year>
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
</copyright>
<copyright>
isc_buffer_init(&b, buf, sizeof(buf));
result = dns_rcode_totext(msg->rcode, &b);
check_result(result, "dns_rcode_totext failed");
- printf("error response code %.*s\n",
+ printf("error response code %.*s\n",
(int)isc_buffer_usedlength(&b), buf);
error_message = msg;
- return;
+ return;
}
if ((result = dns_message_firstname(msg, DNS_SECTION_ANSWER))
strcasecmp(word, "on") == 0) {
checknames = ISC_TRUE;
} else if (strcasecmp(word, "no") == 0 ||
- strcasecmp(word, "false") == 0 ||
- strcasecmp(word, "off") == 0) {
+ strcasecmp(word, "false") == 0 ||
+ strcasecmp(word, "off") == 0) {
checknames = ISC_FALSE;
} else {
fprintf(stderr, "incorrect check-names directive: %s\n", word);