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
master
Koichiro IWAO 7 years ago committed by metalefty
parent fb8f0adcc4
commit 8d951ab02e

@ -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;
}

Loading…
Cancel
Save