projects
/
platform
/
upstream
/
c-ares.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
471b4a3
)
Gisle Vanem fixed the bad argc check
author
Daniel Stenberg
<daniel@haxx.se>
Tue, 9 Mar 2004 09:43:30 +0000
(09:43 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Tue, 9 Mar 2004 09:43:30 +0000
(09:43 +0000)
ahost.c
patch
|
blob
|
history
diff --git
a/ahost.c
b/ahost.c
index
f643c75
..
2d62076
100644
(file)
--- a/
ahost.c
+++ b/
ahost.c
@@
-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);