diff options
author | H. Peter Anvin <hpa@zytor.com> | 2005-10-20 18:34:58 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-10-20 22:46:03 -0700 |
commit | 54e31a205c63d8bc8cd3dcf6956f81d3b968ea48 (patch) | |
tree | 26fc0da81cf949c3270ee38cc4a53613b48efd88 | |
parent | 2707da9c081f0ec5ada43de1006abaf6a674984c (diff) | |
download | git-54e31a205c63d8bc8cd3dcf6956f81d3b968ea48.tar.gz |
Fix git-daemon argument-parsing bug
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>
-rw-r--r-- | daemon.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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, "--")) { |