From 8d951ab02e23893247cb3a7744c4980071411fea Mon Sep 17 00:00:00 2001 From: Koichiro IWAO Date: Wed, 29 Nov 2017 14:45:37 +0900 Subject: [PATCH] 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 --- xrdp/xrdp_listen.c | 2 -- 1 file changed, 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; }