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
1 changed files with 1 additions and 1 deletions

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