aboutsummaryrefslogtreecommitdiff
path: root/ares
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
commitbd42a2acb17397eb8f0b382e25db054d328b0990 (patch)
tree3e13ed4d1f6100d221b3c9fa6778e44c17d7ea1c /ares
parent7f0e708322c54a213318383d73eb327b90567cbe (diff)
Gisle Vanem fixed the bad argc check
Diffstat (limited to 'ares')
-rw-r--r--ares/ahost.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ares/ahost.c b/ares/ahost.c
index f643c755b..2d62076a8 100644
--- a/ares/ahost.c
+++ b/ares/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);