diff options
author | Vincent Richard <[email protected]> | 2015-05-05 16:47:59 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2015-05-05 16:47:59 +0000 |
commit | e071de8a60d26114797dfa702f80d821e54b6dce (patch) | |
tree | 28a50d9ada629bbcc6743e77593d4d50576fa911 | |
parent | Merge branch 'master' of https://github.com/kisli/vmime (diff) | |
download | vmime-e071de8a60d26114797dfa702f80d821e54b6dce.tar.gz vmime-e071de8a60d26114797dfa702f80d821e54b6dce.zip |
Fixed issue #110: wrong number of bytes returned.
-rw-r--r-- | src/vmime/net/tls/openssl/TLSSocket_OpenSSL.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vmime/net/tls/openssl/TLSSocket_OpenSSL.cpp b/src/vmime/net/tls/openssl/TLSSocket_OpenSSL.cpp index 7ead54b9..4f61e355 100644 --- a/src/vmime/net/tls/openssl/TLSSocket_OpenSSL.cpp +++ b/src/vmime/net/tls/openssl/TLSSocket_OpenSSL.cpp @@ -547,7 +547,7 @@ int TLSSocket_OpenSSL::bio_write(BIO* bio, const char* buf, int len) return -1; } - return static_cast <int>(len); + return static_cast <int>(n); } catch (exception& e) { |