diff options
author | Pavel Roskin <plroskin@gmail.com> | 2016-10-16 22:21:07 -0700 |
---|---|---|
committer | Pavel Roskin <plroskin@gmail.com> | 2016-10-17 08:54:07 -0700 |
commit | a618d4f757d57068e388b213290d3a4f6068a9ae (patch) | |
tree | c43f43fdf084e6d0f0a75eac2cee81ea1fa6d9b6 /common/os_calls.c | |
parent | 424cef464b66e93704991c7747476306d43e2065 (diff) | |
download | xrdp-proprietary-a618d4f757d57068e388b213290d3a4f6068a9ae.tar.gz xrdp-proprietary-a618d4f757d57068e388b213290d3a4f6068a9ae.zip |
Don't use final newline in log calls, it's already appended
Diffstat (limited to 'common/os_calls.c')
-rw-r--r-- | common/os_calls.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/common/os_calls.c b/common/os_calls.c index 9ba6dfc6..c101ad74 100644 --- a/common/os_calls.c +++ b/common/os_calls.c @@ -439,7 +439,7 @@ g_tcp_socket(void) if (setsockopt(rv, IPPROTO_IPV6, IPV6_V6ONLY, (char*)&option_value, option_len) < 0) { - log_message(LOG_LEVEL_ERROR, "g_tcp_socket: setsockopt() failed\n"); + log_message(LOG_LEVEL_ERROR, "g_tcp_socket: setsockopt() failed"); } } } @@ -455,7 +455,7 @@ g_tcp_socket(void) if (setsockopt(rv, SOL_SOCKET, SO_REUSEADDR, (char *)&option_value, option_len) < 0) { - log_message(LOG_LEVEL_ERROR, "g_tcp_socket: setsockopt() failed\n"); + log_message(LOG_LEVEL_ERROR, "g_tcp_socket: setsockopt() failed"); } } } @@ -472,7 +472,7 @@ g_tcp_socket(void) if (setsockopt(rv, SOL_SOCKET, SO_SNDBUF, (char *)&option_value, option_len) < 0) { - log_message(LOG_LEVEL_ERROR, "g_tcp_socket: setsockopt() failed\n"); + log_message(LOG_LEVEL_ERROR, "g_tcp_socket: setsockopt() failed"); } } } @@ -846,7 +846,7 @@ g_sck_set_non_blocking(int sck) i = i | O_NONBLOCK; if (fcntl(sck, F_SETFL, i) < 0) { - log_message(LOG_LEVEL_ERROR, "g_sck_set_non_blocking: fcntl() failed\n"); + log_message(LOG_LEVEL_ERROR, "g_sck_set_non_blocking: fcntl() failed"); } #endif return 0; |