]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
fixed wrong var name
authorGunter Knauf <gk@gknw.de>
Wed, 27 Jun 2007 10:12:48 +0000 (10:12 +0000)
committerGunter Knauf <gk@gknw.de>
Wed, 27 Jun 2007 10:12:48 +0000 (10:12 +0000)
lib/ssh.c

index 7e42b22490120a882c8944acec56869692a4828b..7b5d1a788327b1d2f3b6313853efe16b72fe4de2 100644 (file)
--- a/lib/ssh.c
+++ b/lib/ssh.c
@@ -1493,7 +1493,7 @@ CURLcode Curl_sftp_do(struct connectdata *conn, bool *done)
             if (tmpLine == NULL) {
               return CURLE_OUT_OF_MEMORY;
             }
-            result = Curl_client_write(conn, CLIENTWRITE_BODY, tmpLine, 0);
+            res = Curl_client_write(conn, CLIENTWRITE_BODY, tmpLine, 0);
             Curl_safefree(tmpLine);
           }
           else {