diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-03-09 09:43:30 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-03-09 09:43:30 +0000 |
commit | 69cfbb9f481b406558b5033a94e553eac2a78627 (patch) | |
tree | ace0273ad251e8908cf1f0740bc02e112693ad4e /ahost.c | |
parent | 471b4a3564bf54f34c253fad6cc023770a6be0f9 (diff) | |
download | c-ares-69cfbb9f481b406558b5033a94e553eac2a78627.tar.gz c-ares-69cfbb9f481b406558b5033a94e553eac2a78627.tar.bz2 c-ares-69cfbb9f481b406558b5033a94e553eac2a78627.zip |
Gisle Vanem fixed the bad argc check
Diffstat (limited to 'ahost.c')
-rw-r--r-- | ahost.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |