schannel SSL: fix compiler warning

This commit is contained in:
Yang Tse 2012-06-20 22:26:51 +02:00
parent 8f92e8be12
commit 293c9288b3
1 changed files with 3 additions and 1 deletions

View File

@ -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);