diff options
author | Jay Sorg <jay.sorg@gmail.com> | 2012-07-23 11:06:04 -0700 |
---|---|---|
committer | Jay Sorg <jay.sorg@gmail.com> | 2012-07-23 11:06:04 -0700 |
commit | 4e92468262577e37586ec8e12f937ef909c51529 (patch) | |
tree | 44eb198325d0a6dbb1929429fb28db604182786f /common/os_calls.c | |
parent | b2e69bbb46f70ab1a59eebdc8fc43c7591087393 (diff) | |
download | xrdp-proprietary-4e92468262577e37586ec8e12f937ef909c51529.tar.gz xrdp-proprietary-4e92468262577e37586ec8e12f937ef909c51529.zip |
output error when set socket opt fails
Diffstat (limited to 'common/os_calls.c')
-rw-r--r-- | common/os_calls.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/common/os_calls.c b/common/os_calls.c index ad7074a6..6b55f2f7 100644 --- a/common/os_calls.c +++ b/common/os_calls.c @@ -352,6 +352,10 @@ g_tcp_set_no_delay(int sck) { ret = 0; /* success */ } + else + { + g_writeln("Error setting tcp_nodelay"); + } } } else @@ -389,6 +393,10 @@ g_tcp_set_keepalive(int sck) { ret = 0; /* success */ } + else + { + g_writeln("Error setting tcp_keepalive"); + } } } else |