Skip to content

Commit

Permalink
upload-pack: fix timeout in create_pack_file
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Lederhofer <matled@gmx.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Matthias Lederhofer authored and Junio C Hamano committed Jul 25, 2006
1 parent 8fced61 commit a0764cb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions upload-pack.c
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,8 @@ static void create_pack_file(void)
ssize_t sz;
int pe, pu, pollsize;

reset_timeout();

pollsize = 0;
pe = pu = -1;

Expand Down

0 comments on commit a0764cb

Please sign in to comment.