1
0
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:
Daniel Stenberg 2004-03-09 09:43:30 +00:00
parent 7f0e708322
commit bd42a2acb1

View File

@ -52,7 +52,7 @@ int main(int argc, char **argv)
WSAStartup(wVersionRequested, &wsaData); WSAStartup(wVersionRequested, &wsaData);
#endif #endif
if (argc == 0) if (argc <= 1)
usage(); usage();
status = ares_init(&channel); status = ares_init(&channel);