From: Yang Tse Date: Wed, 20 Jun 2012 20:26:51 +0000 (+0200) Subject: schannel SSL: fix compiler warning X-Git-Tag: upstream/7.37.1~2877 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=293c9288b334dc908eff655d4c27ac7c02217d52;p=platform%2Fupstream%2Fcurl.git schannel SSL: fix compiler warning --- 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);