summaryrefslogtreecommitdiffstats
path: root/xrdp/xrdp.c
diff options
context:
space:
mode:
Diffstat (limited to 'xrdp/xrdp.c')
-rw-r--r--xrdp/xrdp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/xrdp/xrdp.c b/xrdp/xrdp.c
index 15a0661b..414e079b 100644
--- a/xrdp/xrdp.c
+++ b/xrdp/xrdp.c
@@ -107,7 +107,7 @@ xrdp_shutdown(int sig)
threadid = tc_get_threadid();
g_writeln("shutting down");
- g_writeln("signal %d threadid %p", sig, threadid);
+ g_writeln("signal %d threadid %lld", sig, (long long)threadid);
if (!g_is_wait_obj_set(g_term_event))
{
@@ -592,7 +592,6 @@ main(int argc, char **argv)
g_threadid = tc_get_threadid();
g_listen = xrdp_listen_create();
g_signal_user_interrupt(xrdp_shutdown); /* SIGINT */
- g_signal_kill(xrdp_shutdown); /* SIGKILL */
g_signal_pipe(pipe_sig); /* SIGPIPE */
g_signal_terminate(xrdp_shutdown); /* SIGTERM */
g_signal_child_stop(xrdp_child); /* SIGCHLD */