From bd42a2acb17397eb8f0b382e25db054d328b0990 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 9 Mar 2004 09:43:30 +0000 Subject: [PATCH] Gisle Vanem fixed the bad argc check --- ares/ahost.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);