upload-pack: fix timeout in create_pack_file
authorMatthias Lederhofer <matled@gmx.net>
Tue, 18 Jul 2006 17:14:51 +0000 (19:14 +0200)
committerJunio C Hamano <junkio@cox.net>
Mon, 24 Jul 2006 07:56:16 +0000 (00:56 -0700)
Signed-off-by: Matthias Lederhofer <matled@gmx.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
upload-pack.c

index f6f5a7e3db6d45f3f174220fff682cd9fbf0ed72..07ecdb4281cfb32cf16dfc7c46c53e6e8d0247bc 100644 (file)
@@ -182,6 +182,8 @@ static void create_pack_file(void)
                ssize_t sz;
                int pe, pu, pollsize;
 
+               reset_timeout();
+
                pollsize = 0;
                pe = pu = -1;