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);