summaryrefslogtreecommitdiffstats
path: root/usr.sbin/XNSrouted/tools/query.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/XNSrouted/tools/query.c')
-rw-r--r--usr.sbin/XNSrouted/tools/query.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/XNSrouted/tools/query.c b/usr.sbin/XNSrouted/tools/query.c
index 7deeac0..71b3733 100644
--- a/usr.sbin/XNSrouted/tools/query.c
+++ b/usr.sbin/XNSrouted/tools/query.c
@@ -74,7 +74,7 @@ char *argv[];
struct sockaddr from;
int fromlen = sizeof(from);
struct timeval notime;
-
+
if (argc < 2) {
printf("usage: query hosts...\n");
exit(1);
@@ -96,7 +96,7 @@ char *argv[];
bzero(&notime, sizeof(notime));
signal(SIGALRM, timeout);
alarm(WTIME);
- while (!timedout ||
+ while (!timedout ||
select(20, &bits, 0, 0, &notime) > 0) {
struct nspacket {
struct idp hdr;
@@ -191,7 +191,7 @@ timeout()
timedout = 1;
}
getsocket(type, proto)
- int type, proto;
+ int type, proto;
{
struct sockaddr_ns *sns = &myaddr;
int domain = sns->sns_family;
OpenPOWER on IntegriCloud