mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
Gisle Vanem fixed the bad argc check
This commit is contained in:
parent
7f0e708322
commit
bd42a2acb1
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user