mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 14:07:59 +00:00
Style changes, nothing functional
This commit is contained in:
parent
77365675e9
commit
58cdafb232
@ -15,7 +15,7 @@
|
|||||||
* SOFTWARE.
|
* SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: dighost.c,v 1.80 2000/07/13 01:49:44 mws Exp $ */
|
/* $Id: dighost.c,v 1.81 2000/07/13 02:14:17 mws Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Notice to programmers: Do not use this code as an example of how to
|
* Notice to programmers: Do not use this code as an example of how to
|
||||||
@ -146,7 +146,7 @@ void
|
|||||||
fatal(const char *format, ...) {
|
fatal(const char *format, ...) {
|
||||||
va_list args;
|
va_list args;
|
||||||
|
|
||||||
fprintf (stderr, "%s: ", progname);
|
fprintf(stderr, "%s: ", progname);
|
||||||
va_start(args, format);
|
va_start(args, format);
|
||||||
vfprintf(stderr, format, args);
|
vfprintf(stderr, format, args);
|
||||||
va_end(args);
|
va_end(args);
|
||||||
@ -495,7 +495,7 @@ setup_system(void) {
|
|||||||
dns_rootname, ISC_FALSE,
|
dns_rootname, ISC_FALSE,
|
||||||
namebuf);
|
namebuf);
|
||||||
if (result != ISC_R_SUCCESS) {
|
if (result != ISC_R_SUCCESS) {
|
||||||
printf (";; Couldn't create key %s: %s\n",
|
printf(";; Couldn't create key %s: %s\n",
|
||||||
keynametext, dns_result_totext(result));
|
keynametext, dns_result_totext(result));
|
||||||
goto SYSSETUP_FAIL;
|
goto SYSSETUP_FAIL;
|
||||||
}
|
}
|
||||||
@ -773,7 +773,7 @@ followup_lookup(dns_message_t *msg, dig_query_t *query,
|
|||||||
isc_result_totext(result));
|
isc_result_totext(result));
|
||||||
if ((section == DNS_SECTION_ANSWER) &&
|
if ((section == DNS_SECTION_ANSWER) &&
|
||||||
(query->lookup->trace || query->lookup->ns_search_only))
|
(query->lookup->trace || query->lookup->ns_search_only))
|
||||||
followup_lookup (msg, query, DNS_SECTION_AUTHORITY);
|
followup_lookup(msg, query, DNS_SECTION_AUTHORITY);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -860,7 +860,7 @@ followup_lookup(dns_message_t *msg, dig_query_t *query,
|
|||||||
loopresult = dns_rdataset_next(rdataset);
|
loopresult = dns_rdataset_next(rdataset);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
result = dns_message_nextname (msg, section);
|
result = dns_message_nextname(msg, section);
|
||||||
if (result != ISC_R_SUCCESS)
|
if (result != ISC_R_SUCCESS)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -2137,7 +2137,7 @@ cancel_all(void) {
|
|||||||
dig_lookup_t *l;
|
dig_lookup_t *l;
|
||||||
dig_query_t *q;
|
dig_query_t *q;
|
||||||
|
|
||||||
debug ("cancel_all()");
|
debug("cancel_all()");
|
||||||
|
|
||||||
l = ISC_LIST_HEAD(lookup_list);
|
l = ISC_LIST_HEAD(lookup_list);
|
||||||
while (l != NULL) {
|
while (l != NULL) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user