diff options
Diffstat (limited to 'xrdp/xrdp.c')
-rw-r--r-- | xrdp/xrdp.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/xrdp/xrdp.c b/xrdp/xrdp.c index ac20fd72..8fbbd8f7 100644 --- a/xrdp/xrdp.c +++ b/xrdp/xrdp.c @@ -310,7 +310,7 @@ main(int argc, char** argv) g_snprintf(cfg_file, 255, "%s/xrdp.ini", XRDP_CFG_PATH); /* starting logging subsystem */ - error = log_start(cfg_file,"XRDP"); + error = log_start(cfg_file, "XRDP"); if (error != LOG_STARTUP_OK) { @@ -323,6 +323,9 @@ main(int argc, char** argv) g_writeln("error opening log file [%s]. quitting.", getLogFile(text, 255)); break; + default: + g_writeln("log_start error"); + break; } g_deinit(); g_exit(1); |