diff options
author | Yang Tse <yangsita@gmail.com> | 2007-02-01 15:36:56 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2007-02-01 15:36:56 +0000 |
commit | d2dd3d7e16fcebdb34d41c944c5a5aef0d0d8bcf (patch) | |
tree | c3e413a5019a6f812a9bf6c37153e933f36529ed /lib/sslgen.c | |
parent | 1c63ceb317f8bed76edeb63df4d77986f60c8710 (diff) | |
download | curl-d2dd3d7e16fcebdb34d41c944c5a5aef0d0d8bcf.tar.gz |
compiler warning fix
Diffstat (limited to 'lib/sslgen.c')
-rw-r--r-- | lib/sslgen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sslgen.c b/lib/sslgen.c index f110a51ea..5b75c3807 100644 --- a/lib/sslgen.c +++ b/lib/sslgen.c @@ -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; |