aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2007-04-18 20:15:22 +0000
committerDaniel Stenberg <daniel@haxx.se>2007-04-18 20:15:22 +0000
commitc234b9d04b6ba778941a847e731b2392977f892d (patch)
tree1ce4e35803ed5186d46e4728a6e80ad78c5acea8 /lib
parent7a86740afdc0ce97c3138d086e0ab5c0fad6c7f6 (diff)
clarify the comment about libssh2_sftp_write's return type
Diffstat (limited to 'lib')
-rw-r--r--lib/ssh.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ssh.c b/lib/ssh.c
index a816c66c1..ee122ff06 100644
--- a/lib/ssh.c
+++ b/lib/ssh.c
@@ -1018,7 +1018,8 @@ CURLcode Curl_sftp_done(struct connectdata *conn, CURLcode status,
ssize_t Curl_sftp_send(struct connectdata *conn, int sockindex,
void *mem, size_t len)
{
- ssize_t nwrite; /* libssh2_sftp_write() returns size_t !*/
+ ssize_t nwrite; /* libssh2_sftp_write() used to return size_t in 0.14
+ but is changed to ssize_t in 0.15! */
#ifdef LIBSSH2SFTP_EAGAIN
/* we prefer the non-blocking API but that didn't exist previously */