Commit 0d655dd9 authored by Dominik Charousset's avatar Dominik Charousset

Fix build with logging enabled

parent 7c400375
...@@ -56,9 +56,8 @@ session::~session() { ...@@ -56,9 +56,8 @@ session::~session() {
SSL_CTX_free(ctx_); SSL_CTX_free(ctx_);
} }
bool session::read_some(size_t& result, native_socket /* fd */, void* buf, bool session::read_some(size_t& result, native_socket, void* buf, size_t len) {
size_t len) { CAF_LOG_TRACE(CAF_ARG(len));
CAF_LOG_TRACE(CAF_ARG(fd) << CAF_ARG(len));
if (len == 0) if (len == 0)
return 0; return 0;
auto ret = SSL_read(ssl_, buf, len); auto ret = SSL_read(ssl_, buf, len);
...@@ -70,9 +69,9 @@ bool session::read_some(size_t& result, native_socket /* fd */, void* buf, ...@@ -70,9 +69,9 @@ bool session::read_some(size_t& result, native_socket /* fd */, void* buf,
return handle_ssl_result(ret); return handle_ssl_result(ret);
} }
bool session::write_some(size_t& result, native_socket /* fd */, bool session::write_some(size_t& result, native_socket, const void* buf,
const void* buf, size_t len) { size_t len) {
CAF_LOG_TRACE(CAF_ARG(fd) << CAF_ARG(len)); CAF_LOG_TRACE(CAF_ARG(len));
if (len == 0) if (len == 0)
return true; return true;
auto ret = SSL_write(ssl_, buf, len); auto ret = SSL_write(ssl_, buf, len);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment