diff options
Diffstat (limited to 'dnsfq.c')
| -rw-r--r-- | dnsfq.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -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 | { |
