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:56:34 -0700 |
| commit | 147a1ab03599c21c9e5972739c460fd2635c0c02 (patch) | |
| tree | 8a06f25b30584eaa965199894800d1ce3373ae1c | |
| parent | b7080d851630606815a399a162c5b20f2907f9e0 (diff) | |
| download | git-147a1ab03599c21c9e5972739c460fd2635c0c02.tar.xz | |
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
@@ -562,7 +562,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, "--")) { |
