aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 {