summaryrefslogtreecommitdiff
path: root/ahost.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-03-09 09:43:30 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-03-09 09:43:30 +0000
commit69cfbb9f481b406558b5033a94e553eac2a78627 (patch)
treeace0273ad251e8908cf1f0740bc02e112693ad4e /ahost.c
parent471b4a3564bf54f34c253fad6cc023770a6be0f9 (diff)
downloadc-ares-69cfbb9f481b406558b5033a94e553eac2a78627.tar.gz
c-ares-69cfbb9f481b406558b5033a94e553eac2a78627.tar.bz2
c-ares-69cfbb9f481b406558b5033a94e553eac2a78627.zip
Gisle Vanem fixed the bad argc check
Diffstat (limited to 'ahost.c')
-rw-r--r--ahost.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ahost.c b/ahost.c
index f643c75..2d62076 100644
--- a/ahost.c
+++ b/ahost.c
@@ -52,7 +52,7 @@ int main(int argc, char **argv)
WSAStartup(wVersionRequested, &wsaData);
#endif
- if (argc == 0)
+ if (argc <= 1)
usage();
status = ares_init(&channel);