SSL writes passed back a silly length...
authorDaniel Stenberg <daniel@haxx.se>
Wed, 16 Jan 2002 23:28:58 +0000 (23:28 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 16 Jan 2002 23:28:58 +0000 (23:28 +0000)
lib/sendf.c

index 631c3f2..ddc61c6 100644 (file)
@@ -212,6 +212,7 @@ CURLcode Curl_write(struct connectdata *conn, int sockfd,
       failf(conn->data, "SSL_write() return error %d\n", err);
       return CURLE_WRITE_ERROR;
     }
+    bytes_written = rc;
   }
   else {
 #endif