From: Daniel Stenberg Date: Tue, 9 Mar 2004 09:43:30 +0000 (+0000) Subject: Gisle Vanem fixed the bad argc check X-Git-Tag: curl-7_11_1~85 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd42a2acb17397eb8f0b382e25db054d328b0990;p=thirdparty%2Fcurl.git Gisle Vanem fixed the bad argc check --- diff --git a/ares/ahost.c b/ares/ahost.c index f643c755b8..2d62076a87 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);