diff options
author | MichaelSweden <michael.sweden@gmail.com> | 2017-04-22 11:32:01 +0200 |
---|---|---|
committer | metalefty <meta@vmeta.jp> | 2017-04-25 09:31:22 +0900 |
commit | 5c668dc4200a0ca39c45ee6d29197b0948900d98 (patch) | |
tree | a43d5d76ee16168cef9e68f0ce9d33a41dbe9339 /common | |
parent | 106ae2cd43a2f02770ad752c085125d8ddd5fd7e (diff) | |
download | xrdp-proprietary-5c668dc4200a0ca39c45ee6d29197b0948900d98.tar.gz xrdp-proprietary-5c668dc4200a0ca39c45ee6d29197b0948900d98.zip |
Removed error message while falling back to IPv4 (issue #714)
Diffstat (limited to 'common')
-rw-r--r-- | common/os_calls.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/common/os_calls.c b/common/os_calls.c index ca8ab42f..524d8190 100644 --- a/common/os_calls.c +++ b/common/os_calls.c @@ -419,8 +419,6 @@ g_tcp_socket(void) rv = (int)socket(AF_INET6, SOCK_STREAM, 0); if (rv < 0) { - log_message(LOG_LEVEL_ERROR, "g_tcp_socket: %s", g_get_strerror()); - switch (errno) { case EAFNOSUPPORT: /* if IPv6 not supported, retry IPv4 */ @@ -429,6 +427,7 @@ g_tcp_socket(void) break; default: + log_message(LOG_LEVEL_ERROR, "g_tcp_socket: %s", g_get_strerror()); return -1; } } |