summaryrefslogtreecommitdiff
path: root/upload-pack.c
diff options
context:
space:
mode:
authorMatthias Lederhofer <matled@gmx.net>2006-07-18 19:14:51 +0200
committerJunio C Hamano <junkio@cox.net>2006-07-24 00:56:16 -0700
commit0d516adab8014bc0d16a0ae7bed7a76e4bd98ec5 (patch)
tree74412490703eaa289d2b9262a4563e8675c8f90c /upload-pack.c
parent5e27e27e5d3da5dcbe5fbfe204c2ade0128538a5 (diff)
downloadgit-0d516adab8014bc0d16a0ae7bed7a76e4bd98ec5.tar.gz
upload-pack: fix timeout in create_pack_file
Signed-off-by: Matthias Lederhofer <matled@gmx.net> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'upload-pack.c')
-rw-r--r--upload-pack.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/upload-pack.c b/upload-pack.c
index f6f5a7e3db..07ecdb4281 100644
--- a/upload-pack.c
+++ b/upload-pack.c
@@ -182,6 +182,8 @@ static void create_pack_file(void)
ssize_t sz;
int pe, pu, pollsize;
+ reset_timeout();
+
pollsize = 0;
pe = pu = -1;