2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-09-01 06:55:30 +00:00
This commit is contained in:
Andreas Gustafsson
2001-10-31 20:39:39 +00:00
parent 5f4804c7e4
commit 589dce8281
2 changed files with 7 additions and 7 deletions

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: dig.c,v 1.168 2001/10/01 18:53:51 gson Exp $ */
/* $Id: dig.c,v 1.169 2001/10/31 20:39:37 gson Exp $ */
#include <config.h>
#include <stdlib.h>
@@ -625,12 +625,12 @@ plus_option(char *option, isc_boolean_t is_batchfile,
strncpy(option_store, option, sizeof(option_store));
option_store[sizeof(option_store)-1]=0;
ptr = option_store;
cmd=next_token(&ptr,"=");
cmd = next_token(&ptr,"=");
if (cmd == NULL) {
printf(";; Invalid option %s\n",option_store);
return;
}
value=ptr;
value = ptr;
if (strncasecmp(cmd,"no",2)==0) {
cmd += 2;
state = ISC_FALSE;

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: dighost.c,v 1.232 2001/10/15 20:40:36 gson Exp $ */
/* $Id: dighost.c,v 1.233 2001/10/31 20:39:39 gson Exp $ */
/*
* Notice to programmers: Do not use this code as an example of how to
@@ -241,7 +241,7 @@ get_reverse(char *reverse, char *value, isc_boolean_t nibble,
isc_netaddr_t addr;
addr.family = AF_INET6;
r= inet_pton(AF_INET6, value, &addr.type.in6);
r = inet_pton(AF_INET6, value, &addr.type.in6);
if (r > 0) {
/* This is a valid IPv6 address. */
dns_fixedname_t fname;
@@ -1700,8 +1700,8 @@ send_udp(dig_query_t *query) {
*/
static void
connect_timeout(isc_task_t *task, isc_event_t *event) {
dig_lookup_t *l=NULL;
dig_query_t *query=NULL, *cq;
dig_lookup_t *l = NULL;
dig_query_t *query = NULL, *cq;
UNUSED(task);
REQUIRE(event->ev_type == ISC_TIMEREVENT_IDLE);