aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2012-06-20 22:26:51 +0200
committerYang Tse <yangsita@gmail.com>2012-06-20 22:26:51 +0200
commit293c9288b334dc908eff655d4c27ac7c02217d52 (patch)
tree5c811c6d0c107604ebf1574e974e660c1e4e1c30
parent8f92e8be122de21d924b920c2c9fcd687f91a83a (diff)
schannel SSL: fix compiler warning
-rw-r--r--lib/curl_schannel.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/curl_schannel.c b/lib/curl_schannel.c
index 0c51be655..c7d0468fd 100644
--- a/lib/curl_schannel.c
+++ b/lib/curl_schannel.c
@@ -290,7 +290,9 @@ schannel_connect_step2(struct connectdata *conn, int sockindex)
SECURITY_STATUS sspi_status = SEC_E_OK;
TCHAR *host_name;
CURLcode code;
- bool doread = connssl->connecting_state != ssl_connect_2_writing;
+ bool doread;
+
+ doread = (connssl->connecting_state != ssl_connect_2_writing)?TRUE:FALSE;
infof(data, "schannel: SSL/TLS connection with %s port %hu (step 2/3)\n",
conn->host.name, conn->remote_port);