diff options
author | Marc Hoersken <info@marc-hoersken.de> | 2012-09-14 14:48:55 +0200 |
---|---|---|
committer | Marc Hoersken <info@marc-hoersken.de> | 2012-09-14 14:48:55 +0200 |
commit | 1ab6c353635760e8e25bacc13ae0cab2f97f7338 (patch) | |
tree | 51e2b653b463a6773925789f9e6e3aa7ad535461 | |
parent | 5162cb8ad6a5bad25cbe51b7fadaff757daeb647 (diff) |
ssh.c: Fixed warning: implicit conversion from enumeration type
-rw-r--r-- | lib/ssh.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -639,7 +639,7 @@ static CURLcode ssh_knownhost(struct connectdata *conn) return result; } -static bool ssh_check_fingerprint(struct connectdata *conn) +static CURLcode ssh_check_fingerprint(struct connectdata *conn) { struct ssh_conn *sshc = &conn->proto.sshc; struct SessionHandle *data = conn->data; @@ -740,7 +740,7 @@ static CURLcode ssh_statemach_act(struct connectdata *conn, bool *block) * whatever) is up to us. */ result = ssh_check_fingerprint(conn); - if(!result) + if(result == CURLE_OK) state(conn, SSH_AUTHLIST); break; |