diff options
author | Yang Tse <yangsita@gmail.com> | 2006-11-06 18:28:34 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2006-11-06 18:28:34 +0000 |
commit | 01926d66d77b1e56939335f675c917dfcc7d18c7 (patch) | |
tree | e66b261fe194628f7d0fd1d4c37c3858f39e2979 /lib/sendf.c | |
parent | 69f7d0a0ce2a50f8a69781f526aed48bbc4f04af (diff) |
add TODO note
Diffstat (limited to 'lib/sendf.c')
-rw-r--r-- | lib/sendf.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/sendf.c b/lib/sendf.c index 59c43f5f0..958e852c7 100644 --- a/lib/sendf.c +++ b/lib/sendf.c @@ -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 { |