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