aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/vmime/net/tls/openssl/TLSSocket_OpenSSL.cpp2
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)
{