aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-05-12 12:37:05 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-05-12 12:37:05 +0000
commit9371aed46c5bf938b2dcfae65086292ead322a77 (patch)
treeea3ea8c132324d4701f13eaeb894ebffb0400e03
parent940707ad6632fa557f2ac28685afa153a3883f19 (diff)
avoid the write loop
-rw-r--r--lib/transfer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/transfer.c b/lib/transfer.c
index 2ab0447bb..c5c2787a2 100644
--- a/lib/transfer.c
+++ b/lib/transfer.c
@@ -949,7 +949,7 @@ CURLcode Curl_readwrite(struct connectdata *conn,
int i, si;
ssize_t bytes_written;
- bool writedone=FALSE;
+ bool writedone=TRUE;
if ((k->bytecount == 0) && (k->writebytecount == 0))
Curl_pgrsTime(data, TIMER_STARTTRANSFER);