]> granicus.if.org Git - curl/commitdiff
avoid the write loop
authorDaniel Stenberg <daniel@haxx.se>
Mon, 12 May 2003 12:37:05 +0000 (12:37 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 12 May 2003 12:37:05 +0000 (12:37 +0000)
lib/transfer.c

index 2ab0447bb88b622f597f643fad2df7df55605ff4..c5c2787a223bfa59be471c831813c31a2f1f6e64 100644 (file)
@@ -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);