projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix git-daemon argument-parsing bug
[git.git]
/
daemon.c
diff --git
a/daemon.c
b/daemon.c
index
693af51
..
8bb4d91
100644
(file)
--- a/
daemon.c
+++ b/
daemon.c
@@
-562,7
+562,7
@@
int main(int argc, char **argv)
if (!strncmp(arg, "--timeout=", 10)) {
timeout = atoi(arg+10);
}
- if (!strncmp(arg, "--init-timeout=", 1
0
)) {
+ if (!strncmp(arg, "--init-timeout=", 1
5
)) {
init_timeout = atoi(arg+15);
}
if (!strcmp(arg, "--")) {