projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5162cb8
)
ssh.c: Fixed warning: implicit conversion from enumeration type
author
Marc Hoersken
<info@marc-hoersken.de>
Fri, 14 Sep 2012 12:48:55 +0000
(14:48 +0200)
committer
Marc Hoersken
<info@marc-hoersken.de>
Fri, 14 Sep 2012 12:48:55 +0000
(14:48 +0200)
lib/ssh.c
patch
|
blob
|
history
diff --git
a/lib/ssh.c
b/lib/ssh.c
index 466566c1a12e74b7ec70f773fe6471d6a074bc6f..e8b7172738f030149ff264da1e426a9dde9367e5 100644
(file)
--- a/
lib/ssh.c
+++ b/
lib/ssh.c
@@
-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;