]> granicus.if.org Git - curl/commitdiff
add TODO note
authorYang Tse <yangsita@gmail.com>
Mon, 6 Nov 2006 18:28:34 +0000 (18:28 +0000)
committerYang Tse <yangsita@gmail.com>
Mon, 6 Nov 2006 18:28:34 +0000 (18:28 +0000)
lib/sendf.c

index 59c43f5f00f34b722e32984193a7337b0d2c1f1d..958e852c7f7715bd931475acb85ccade8796492f 100644 (file)
@@ -513,6 +513,8 @@ int Curl_read(struct connectdata *conn, /* connection data */
 #ifdef USE_LIBSSH2
   else if (conn->protocol & PROT_SCP) {
     nread = Curl_scp_recv(conn, num, conn->master_buffer, bytesfromsocket);
+    /* TODO: return CURLE_OK also for nread <= 0 
+             read failures and timeouts ? */
   }
 #endif /* !USE_LIBSSH2 */
   else {