summaryrefslogtreecommitdiffstats
path: root/sesman
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2009-08-05 06:16:05 +0000
committerjsorg71 <jsorg71>2009-08-05 06:16:05 +0000
commiteeac7c938a7602f4e471181aa62b18c206105de8 (patch)
tree8aefb09f38b9215394baf9806841c07203994177 /sesman
parent3cfea6a9596269cf1a0e308ea6653905fa3702bb (diff)
downloadxrdp-proprietary-eeac7c938a7602f4e471181aa62b18c206105de8.tar.gz
xrdp-proprietary-eeac7c938a7602f4e471181aa62b18c206105de8.zip
add extended log output
Diffstat (limited to 'sesman')
-rw-r--r--sesman/sesman.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/sesman/sesman.c b/sesman/sesman.c
index 186ad4e5..5c640a30 100644
--- a/sesman/sesman.c
+++ b/sesman/sesman.c
@@ -114,12 +114,15 @@ sesman_main_loop(void)
}
else
{
- log_message(&(g_cfg->log), LOG_LEVEL_ERROR, "listen error");
+ log_message(&(g_cfg->log), LOG_LEVEL_ERROR, "listen error %d (%s)",
+ g_get_errno(), g_get_strerror());
}
}
else
{
- log_message(&(g_cfg->log), LOG_LEVEL_ERROR, "bind error");
+ log_message(&(g_cfg->log), LOG_LEVEL_ERROR, "bind error on "
+ "port '%s': %d (%s)", g_cfg->listen_port,
+ g_get_errno(), g_get_strerror());
}
g_tcp_close(g_sck);
}