summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Lederhofer <matled@gmx.net>2006-07-18 17:14:51 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-07-24 07:56:16 (GMT)
commit0d516adab8014bc0d16a0ae7bed7a76e4bd98ec5 (patch)
tree74412490703eaa289d2b9262a4563e8675c8f90c
parent5e27e27e5d3da5dcbe5fbfe204c2ade0128538a5 (diff)
downloadgit-0d516adab8014bc0d16a0ae7bed7a76e4bd98ec5.zip
git-0d516adab8014bc0d16a0ae7bed7a76e4bd98ec5.tar.gz
git-0d516adab8014bc0d16a0ae7bed7a76e4bd98ec5.tar.bz2
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>
-rw-r--r--upload-pack.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/upload-pack.c b/upload-pack.c
index f6f5a7e..07ecdb4 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;