mirror of
https://github.com/moparisthebest/curl
synced 2024-12-23 16:48:49 -05:00
libssh2: s/ssherr/sftperr/
The debug output used ssherr instead of sftperr which not only outputs the wrong error code but also casues a warning on Windows. Follow-up to7370b4e39f
Reported-by: Gisle Vanem Bug:7370b4e39f (r41334700)
Closes #5799
This commit is contained in:
parent
aecce3551c
commit
43c68d842e
@ -1256,7 +1256,7 @@ static CURLcode ssh_statemach_act(struct connectdata *conn, bool *block)
|
|||||||
result = CURLE_SSH;
|
result = CURLE_SSH;
|
||||||
sshc->actualcode = result;
|
sshc->actualcode = result;
|
||||||
DEBUGF(infof(data, "error = %d makes libcurl = %d\n",
|
DEBUGF(infof(data, "error = %d makes libcurl = %d\n",
|
||||||
ssherr, (int)result));
|
sftperr, (int)result));
|
||||||
state(conn, SSH_STOP);
|
state(conn, SSH_STOP);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user