1
0
mirror of https://frontier.innolan.net/rainlance/c-ares.git synced 2025-11-22 08:09:41 +00:00

Gisle Vanem fixed the bad argc check

This commit is contained in:
Daniel Stenberg
2004-03-09 09:43:30 +00:00
parent 471b4a3564
commit 69cfbb9f48

View File

@ -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);