aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGunter Knauf <gk@gknw.de>2007-06-27 10:12:48 +0000
committerGunter Knauf <gk@gknw.de>2007-06-27 10:12:48 +0000
commita2060effed77c88e1349392a839ee49229fda1fe (patch)
tree3548d7a78c3964acf31ecc88fd80edfe8a96a6a6 /lib
parent33b9daaa4cd5b8a8231648ea7d37c14bc37b653a (diff)
fixed wrong var name
Diffstat (limited to 'lib')
-rw-r--r--lib/ssh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssh.c b/lib/ssh.c
index 7e42b2249..7b5d1a788 100644
--- 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 {