diff options
author | Benny Prijono <bennylp@teluu.com> | 2014-06-06 10:08:47 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2014-06-06 10:08:47 +0000 |
commit | 4a585d9ba1be61c245af889753f0f36a0ec4e93c (patch) | |
tree | 47b8adced259e83446c15f2a874cbc840435fd6d | |
parent | c62d8920e7e8227a5fd9434b95babded3c56f307 (diff) |
Misc (re #1751): fixed error when retrieving SSL error. Thanks Vittorio Giovara for the patch
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4858 74dad513-b988-da41-8d7b-12977e46ad98
-rw-r--r-- | pjlib/src/pj/ssl_sock_ossl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pjlib/src/pj/ssl_sock_ossl.c b/pjlib/src/pj/ssl_sock_ossl.c index 0e1526f2..7c7b6d00 100644 --- a/pjlib/src/pj/ssl_sock_ossl.c +++ b/pjlib/src/pj/ssl_sock_ossl.c @@ -1496,7 +1496,7 @@ static pj_bool_t asock_on_data_read (pj_activesock_t *asock, } else { - int err = SSL_get_error(ssock->ossl_ssl, (int)size); + int err = SSL_get_error(ssock->ossl_ssl, size_); /* SSL might just return SSL_ERROR_WANT_READ in * re-negotiation. |