summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorMichaelSweden <michael.sweden@gmail.com>2017-04-22 11:32:01 +0200
committermetalefty <meta@vmeta.jp>2017-04-25 09:31:22 +0900
commit5c668dc4200a0ca39c45ee6d29197b0948900d98 (patch)
treea43d5d76ee16168cef9e68f0ce9d33a41dbe9339 /common
parent106ae2cd43a2f02770ad752c085125d8ddd5fd7e (diff)
downloadxrdp-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.c3
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;
}
}