summaryrefslogtreecommitdiffstats
path: root/xrdp
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2008-12-30 08:25:25 +0000
committerjsorg71 <jsorg71>2008-12-30 08:25:25 +0000
commit0cef301b27711bd4f881a7e360d39e01e50898d5 (patch)
tree60a18a961f2b28c0df6b70313b2469da01002a76 /xrdp
parentc69bb282d4432e014a2fa7a4042c425ef89aedd5 (diff)
downloadxrdp-proprietary-0cef301b27711bd4f881a7e360d39e01e50898d5.tar.gz
xrdp-proprietary-0cef301b27711bd4f881a7e360d39e01e50898d5.zip
change to the g_signal_* functions
Diffstat (limited to 'xrdp')
-rw-r--r--xrdp/xrdp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/xrdp/xrdp.c b/xrdp/xrdp.c
index 64ac6cb5..6ee5f200 100644
--- a/xrdp/xrdp.c
+++ b/xrdp/xrdp.c
@@ -566,10 +566,10 @@ main(int argc, char** argv)
#endif
g_threadid = tc_get_threadid();
g_listen = xrdp_listen_create();
- g_signal(2, xrdp_shutdown); /* SIGINT */
- g_signal(9, xrdp_shutdown); /* SIGKILL */
- g_signal(13, pipe_sig); /* sig pipe */
- g_signal(15, xrdp_shutdown); /* SIGTERM */
+ 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_sync_mutex = tc_mutex_create();
g_sync1_mutex = tc_mutex_create();
pid = g_getpid();