]> granicus.if.org Git - curl/commitdiff
Gisle Vanem fixed the bad argc check
authorDaniel Stenberg <daniel@haxx.se>
Tue, 9 Mar 2004 09:43:30 +0000 (09:43 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 9 Mar 2004 09:43:30 +0000 (09:43 +0000)
ares/ahost.c

index f643c755b83fe7dc10f33b8d4c5a0b9658e431d0..2d62076a872231a66046049ff5b2afde8dfdfc86 100644 (file)
@@ -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);