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:
8f92e8b
)
schannel SSL: fix compiler warning
author
Yang Tse
<yangsita@gmail.com>
Wed, 20 Jun 2012 20:26:51 +0000
(22:26 +0200)
committer
Yang Tse
<yangsita@gmail.com>
Wed, 20 Jun 2012 20:26:51 +0000
(22:26 +0200)
lib/curl_schannel.c
patch
|
blob
|
history
diff --git
a/lib/curl_schannel.c
b/lib/curl_schannel.c
index 0c51be6552b4a4341ad00cc272973cd8cf7ed85d..c7d0468fd488a1670d31eea5a9c6fc96515d66b4 100644
(file)
--- 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);