mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-04 08:35:31 +00:00
spacing
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: dighost.c,v 1.164 2000/11/21 19:05:30 mws Exp $ */
|
/* $Id: dighost.c,v 1.165 2000/11/21 20:52:24 gson 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
|
||||||
@@ -860,7 +860,7 @@ clear_query(dig_query_t *query) {
|
|||||||
|
|
||||||
REQUIRE(query != NULL);
|
REQUIRE(query != NULL);
|
||||||
|
|
||||||
debug("clear_query(%p)",query);
|
debug("clear_query(%p)", query);
|
||||||
|
|
||||||
lookup = query->lookup;
|
lookup = query->lookup;
|
||||||
|
|
||||||
@@ -1018,7 +1018,7 @@ followup_lookup(dns_message_t *msg, dig_query_t *query,
|
|||||||
INSIST(!free_now);
|
INSIST(!free_now);
|
||||||
|
|
||||||
debug("followup_lookup()");
|
debug("followup_lookup()");
|
||||||
result = dns_message_firstname(msg,section);
|
result = dns_message_firstname(msg, section);
|
||||||
|
|
||||||
if (result != ISC_R_SUCCESS) {
|
if (result != ISC_R_SUCCESS) {
|
||||||
debug("firstname returned %s",
|
debug("firstname returned %s",
|
||||||
@@ -1671,7 +1671,7 @@ send_tcp_connect(dig_query_t *query) {
|
|||||||
isc_sockettype_tcp, &query->sock) ;
|
isc_sockettype_tcp, &query->sock) ;
|
||||||
check_result(result, "isc_socket_create");
|
check_result(result, "isc_socket_create");
|
||||||
sockcount++;
|
sockcount++;
|
||||||
debug("sockcount=%d",sockcount);
|
debug("sockcount=%d", sockcount);
|
||||||
if (specified_source)
|
if (specified_source)
|
||||||
result = isc_socket_bind(query->sock, &bind_address);
|
result = isc_socket_bind(query->sock, &bind_address);
|
||||||
else {
|
else {
|
||||||
@@ -1824,7 +1824,7 @@ connect_timeout(isc_task_t *task, isc_event_t *event) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
fputs(l->cmdline,stdout);
|
fputs(l->cmdline, stdout);
|
||||||
printf(";; connection timed out; no servers could be "
|
printf(";; connection timed out; no servers could be "
|
||||||
"reached\n");
|
"reached\n");
|
||||||
cancel_lookup(l);
|
cancel_lookup(l);
|
||||||
@@ -1881,7 +1881,7 @@ tcp_length_done(isc_task_t *task, isc_event_t *event) {
|
|||||||
l = query->lookup;
|
l = query->lookup;
|
||||||
isc_socket_detach(&query->sock);
|
isc_socket_detach(&query->sock);
|
||||||
sockcount--;
|
sockcount--;
|
||||||
debug("sockcount=%d",sockcount);
|
debug("sockcount=%d", sockcount);
|
||||||
INSIST(sockcount >= 0);
|
INSIST(sockcount >= 0);
|
||||||
isc_event_free(&event);
|
isc_event_free(&event);
|
||||||
clear_query(query);
|
clear_query(query);
|
||||||
@@ -2564,7 +2564,7 @@ recv_done(isc_task_t *task, isc_event_t *event) {
|
|||||||
isc_result_totext(sevent->result));
|
isc_result_totext(sevent->result));
|
||||||
isc_socket_detach(&query->sock);
|
isc_socket_detach(&query->sock);
|
||||||
sockcount--;
|
sockcount--;
|
||||||
debug("sockcount=%d",sockcount);
|
debug("sockcount=%d", sockcount);
|
||||||
INSIST(sockcount >= 0);
|
INSIST(sockcount >= 0);
|
||||||
isc_event_free(&event);
|
isc_event_free(&event);
|
||||||
clear_query(query);
|
clear_query(query);
|
||||||
@@ -2673,7 +2673,7 @@ cancel_all(void) {
|
|||||||
* way to get the system down now is to just exit out,
|
* way to get the system down now is to just exit out,
|
||||||
* and trust the OS to clean up for us.
|
* and trust the OS to clean up for us.
|
||||||
*/
|
*/
|
||||||
fputs ("Abort.\n",stderr);
|
fputs("Abort.\n", stderr);
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
LOCK_LOOKUP;
|
LOCK_LOOKUP;
|
||||||
@@ -2728,7 +2728,7 @@ destroy_libs(void) {
|
|||||||
* way to get the system down now is to just exit out,
|
* way to get the system down now is to just exit out,
|
||||||
* and trust the OS to clean up for us.
|
* and trust the OS to clean up for us.
|
||||||
*/
|
*/
|
||||||
fputs ("Abort.\n",stderr);
|
fputs("Abort.\n", stderr);
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
if (global_task != NULL) {
|
if (global_task != NULL) {
|
||||||
|
Reference in New Issue
Block a user