]> granicus.if.org Git - curl/commitdiff
clarify the comment about libssh2_sftp_write's return type
authorDaniel Stenberg <daniel@haxx.se>
Wed, 18 Apr 2007 20:15:22 +0000 (20:15 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 18 Apr 2007 20:15:22 +0000 (20:15 +0000)
lib/ssh.c

index a816c66c19d0101c191f92b7aefd91234224bfc8..ee122ff06db56f0827916b589a9f4572cc643ad6 100644 (file)
--- 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 */