From: Yang Tse Date: Wed, 20 Jun 2012 20:26:51 +0000 (+0200) Subject: schannel SSL: fix compiler warning X-Git-Tag: curl-7_27_0~150 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=293c9288b334dc908eff655d4c27ac7c02217d52;p=thirdparty%2Fcurl.git schannel SSL: fix compiler warning --- diff --git a/lib/curl_schannel.c b/lib/curl_schannel.c index 0c51be6552..c7d0468fd4 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);