mirror of
https://github.com/curl/curl.git
synced 2026-07-03 15:47:15 +03:00
Gisle Vanem fixed the bad argc check
This commit is contained in:
parent
7f0e708322
commit
bd42a2acb1
1 changed files with 1 additions and 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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue