* [PATCH] Fix git-daemon argument-parsing bug
@ 2005-10-21 1:34 H. Peter Anvin
0 siblings, 0 replies; only message in thread
From: H. Peter Anvin @ 2005-10-21 1:34 UTC (permalink / raw)
To: Git Mailing List
[-- Attachment #1: Type: text/plain, Size: 100 bytes --]
Fix stupid bug in parsing the --init-timeout option.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
[-- Attachment #2: diff --]
[-- Type: text/plain, Size: 351 bytes --]
diff --git a/daemon.c b/daemon.c
--- a/daemon.c
+++ b/daemon.c
@@ -612,7 +612,7 @@ int main(int argc, char **argv)
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, "--")) {
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-10-21 1:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-21 1:34 [PATCH] Fix git-daemon argument-parsing bug H. Peter Anvin
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.