Commit fc3e5317 authored by Joseph Noir's avatar Joseph Noir

Address style violations

parent 50efc3ba
...@@ -139,7 +139,7 @@ namespace network { ...@@ -139,7 +139,7 @@ namespace network {
CALL_CFUN(set_res, detail::cc_not_minus1, "fcntl", fcntl(fd, F_SETFD, wf)); CALL_CFUN(set_res, detail::cc_not_minus1, "fcntl", fcntl(fd, F_SETFD, wf));
return unit; return unit;
} }
expected<void> keepalive(native_socket fd, bool new_value) { expected<void> keepalive(native_socket fd, bool new_value) {
CAF_LOG_TRACE(CAF_ARG(fd) << CAF_ARG(new_value)); CAF_LOG_TRACE(CAF_ARG(fd) << CAF_ARG(new_value));
int value = new_value ? 1 : 0; int value = new_value ? 1 : 0;
...@@ -231,7 +231,7 @@ namespace network { ...@@ -231,7 +231,7 @@ namespace network {
// nop; FIXME: possible to implement via SetHandleInformation ? // nop; FIXME: possible to implement via SetHandleInformation ?
return unit; return unit;
} }
expected<void> keepalive(native_socket fd, bool new_value) { expected<void> keepalive(native_socket fd, bool new_value) {
CAF_LOG_TRACE(CAF_ARG(fd) << CAF_ARG(new_value)); CAF_LOG_TRACE(CAF_ARG(fd) << CAF_ARG(new_value));
char value = new_value ? 1 : 0; char value = new_value ? 1 : 0;
......
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