summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKoichiro IWAO <meta@vmeta.jp>2017-11-29 14:45:37 +0900
committermetalefty <meta@vmeta.jp>2017-11-30 15:13:18 +0900
commit8d951ab02e23893247cb3a7744c4980071411fea (patch)
tree4be95460d92d5135711ff42ec85e3bab57952c92
parentfb8f0adcc40d2f3e0cdfafa99fac1138c1de617b (diff)
downloadxrdp-proprietary-8d951ab02e23893247cb3a7744c4980071411fea.tar.gz
xrdp-proprietary-8d951ab02e23893247cb3a7744c4980071411fea.zip
xrdp_listen: suppress log when TRANS_STATUS_DOWN
The log is always logged when clients are disconnecting even though nothing unusual is happening. This scares users too much. Actually, some users created a issue on GitHub with the following log. It will lose focus from the real error. > [ERROR] Listening socket is in wrong state, terminating listener
-rw-r--r--xrdp/xrdp_listen.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/xrdp/xrdp_listen.c b/xrdp/xrdp_listen.c
index 81f602df..a04768b1 100644
--- a/xrdp/xrdp_listen.c
+++ b/xrdp/xrdp_listen.c
@@ -479,8 +479,6 @@ xrdp_listen_main_loop(struct xrdp_listen *self)
if (trans_get_wait_objs(self->listen_trans, robjs,
&robjs_count) != 0)
{
- log_message(LOG_LEVEL_ERROR,"Listening socket is in wrong state, "
- "terminating listener");
break;
}