From 69cfbb9f481b406558b5033a94e553eac2a78627 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 --- ahost.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.7.4