mirror of
https://github.com/curl/curl.git
synced 2026-08-25 23:33:37 +03:00
compiler warning fix
This commit is contained in:
parent
1c63ceb317
commit
d2dd3d7e16
5 changed files with 11 additions and 9 deletions
|
|
@ -608,7 +608,7 @@ bool Curl_ssl_data_pending(struct connectdata *conn,
|
|||
/* OpenSSL-specific */
|
||||
if(conn->ssl[connindex].handle)
|
||||
/* SSL is in use */
|
||||
return SSL_pending(conn->ssl[connindex].handle);
|
||||
return (bool)(0 != SSL_pending(conn->ssl[connindex].handle));
|
||||
#else
|
||||
(void)conn;
|
||||
(void)connindex;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue