summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b7080d8)
raw | patch | inline | side by side (parent: b7080d8)
author | H. Peter Anvin <hpa@zytor.com> | |
Fri, 21 Oct 2005 01:34:58 +0000 (18:34 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 21 Oct 2005 05:56:34 +0000 (22:56 -0700) |
Fix stupid bug in parsing the --init-timeout option.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
daemon.c | patch | blob | history |
diff --git a/daemon.c b/daemon.c
index 693af515d3f007985ab512695251d2cac17f13a2..8bb4d913bd3362314bdc936fe52946c82cf90c4a 100644 (file)
--- a/daemon.c
+++ b/daemon.c
if (!strncmp(arg, "--timeout=", 10)) {
timeout = atoi(arg+10);
}
- if (!strncmp(arg, "--init-timeout=", 10)) {
+ if (!strncmp(arg, "--init-timeout=", 15)) {
init_timeout = atoi(arg+15);
}
if (!strcmp(arg, "--")) {