aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);