diff options
| author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2002-10-27 15:43:40 +0000 |
|---|---|---|
| committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2002-10-27 15:43:40 +0000 |
| commit | 9f788e9c906554254bd1f32cfefaf244604575d7 (patch) | |
| tree | 82547677035f49731c110d625a2e087b17869ca0 /lib/libfetch/common.c | |
| parent | 97727a7dc1b1045951d9bd2676e9c6bd0a986adb (diff) | |
Notes
Diffstat (limited to 'lib/libfetch/common.c')
| -rw-r--r-- | lib/libfetch/common.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libfetch/common.c b/lib/libfetch/common.c index df6d870e1e0f..48ac5d314324 100644 --- a/lib/libfetch/common.c +++ b/lib/libfetch/common.c @@ -465,6 +465,7 @@ _fetch_write(conn_t *conn, const char *buf, size_t len) timeout.tv_sec += fetchTimeout; } + total = 0; while (len > 0) { while (fetchTimeout && !FD_ISSET(conn->sd, &writefds)) { FD_SET(conn->sd, &writefds); |
