Dolda2000 GitWeb
/
ashd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0cbd8d
)
Slightly more sensible argument parsing for htparser.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Sat, 21 Aug 2010 14:15:46 +0000
(16:15 +0200)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Sat, 21 Aug 2010 14:15:46 +0000
(16:15 +0200)
src/htparser.c
patch
|
blob
|
blame
|
history
diff --git
a/src/htparser.c
b/src/htparser.c
index
953ddac
..
f489b2c
100644
(file)
--- a/
src/htparser.c
+++ b/
src/htparser.c
@@
-415,10
+415,6
@@
int main(int argc, char **argv)
exit(1);
}
}
- if((argc - optind) < 3) {
- usage(stderr);
- exit(1);
- }
s1 = 0;
for(i = optind; i < argc; i++) {
if(!strcmp(argv[i], "--"))