diff options
author | Pavel Roskin <plroskin@gmail.com> | 2016-06-21 16:30:16 -0700 |
---|---|---|
committer | Pavel Roskin <plroskin@gmail.com> | 2016-07-08 04:15:34 +0000 |
commit | 6f5feb61e0e0683249d2db64bb8c04583a968583 (patch) | |
tree | 3ab55d96aa52cce3efd26b752105f5c05dabe3fd /xrdp/xrdp_wm.c | |
parent | a1b7de56798463cca6702bc6fd2b1d599bfc234a (diff) | |
download | xrdp-proprietary-6f5feb61e0e0683249d2db64bb8c04583a968583.tar.gz xrdp-proprietary-6f5feb61e0e0683249d2db64bb8c04583a968583.zip |
Shorten and clarify log window messages
Specify display in the "login failed" message. Print the section name
that wasn't found. Remove stdout message about missing section,
xrdp_wm_log_msg() already writes to stdout.
Diffstat (limited to 'xrdp/xrdp_wm.c')
-rw-r--r-- | xrdp/xrdp_wm.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/xrdp/xrdp_wm.c b/xrdp/xrdp_wm.c index 4613816f..5fec41a4 100644 --- a/xrdp/xrdp_wm.c +++ b/xrdp/xrdp_wm.c @@ -679,10 +679,9 @@ xrdp_wm_init(struct xrdp_wm *self) else { /* requested module name not found in xrdp.ini */ - g_writeln(" xrdp_wm_init: file_read_section returned non-zero, requested section not found in xrdp.ini"); xrdp_wm_log_msg(self, LOG_LEVEL_ERROR, - "ERROR: The requested xrdp module not found in " - "xrdp.ini, falling back to login window"); + "Section \"%s\" not configured in xrdp.ini", + section_name); } list_delete(names); |