summaryrefslogtreecommitdiffstats
path: root/dnsfq.c
diff options
context:
space:
mode:
Diffstat (limited to 'dnsfq.c')
-rw-r--r--dnsfq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dnsfq.c b/dnsfq.c
index b7619b9..e93a9c6 100644
--- a/dnsfq.c
+++ b/dnsfq.c
@@ -19,7 +19,7 @@ char **argv;
19 if (!stralloc_copys(&sa,argv[1])) 19 if (!stralloc_copys(&sa,argv[1]))
20 { substdio_putsflush(subfderr,"out of memory\n"); _exit(111); } 20 { substdio_putsflush(subfderr,"out of memory\n"); _exit(111); }
21 21
22 dns_init(1); 22 dns_use_search(1);
23 dnsdoe(dns_ip(&ia,&sa)); 23 dnsdoe(dns_ip(&ia,&sa));
24 if (ia.len <= 0) 24 if (ia.len <= 0)
25 { 25 {