diff options
| author | jsorg71 <jay.sorg@gmail.com> | 2016-04-17 17:40:43 -0700 |
|---|---|---|
| committer | jsorg71 <jay.sorg@gmail.com> | 2016-04-17 17:40:43 -0700 |
| commit | 6c21aca50b6c57c55f204e86e4234650e98cff0a (patch) | |
| tree | ddcc69af88cc83c5b8d67009f92301e8f46150ba /tests/tcp_proxy | |
| parent | 87208db090baba3b3249b31b50ace5fb78f44d60 (diff) | |
| parent | f7858e964db7406aa602492244bb992b11ee23ac (diff) | |
| download | xrdp-proprietary-6c21aca50b6c57c55f204e86e4234650e98cff0a.tar.gz xrdp-proprietary-6c21aca50b6c57c55f204e86e4234650e98cff0a.zip | |
Merge pull request #361 from metalefty/do-not-attempt-to-trap-sigkill
Do not attempt to trap SIGKILL part 2
Diffstat (limited to 'tests/tcp_proxy')
| -rw-r--r-- | tests/tcp_proxy/main.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/tests/tcp_proxy/main.c b/tests/tcp_proxy/main.c index 1cc58889..26c974cd 100644 --- a/tests/tcp_proxy/main.c +++ b/tests/tcp_proxy/main.c @@ -26,7 +26,7 @@ #include <errno.h> #include <locale.h> #include <netdb.h> -#include <sys/types.h> +#include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> @@ -399,13 +399,6 @@ g_signal_user_interrupt(void (*func)(int)) /*****************************************************************************/ static void APP_CC -g_signal_kill(void (*func)(int)) -{ - signal(SIGKILL, func); -} - -/*****************************************************************************/ -static void APP_CC g_signal_terminate(void (*func)(int)) { signal(SIGTERM, func); @@ -685,7 +678,6 @@ main(int argc, char **argv) g_init("tcp_proxy"); g_signal_user_interrupt(proxy_shutdown); /* SIGINT */ - g_signal_kill(proxy_shutdown); /* SIGKILL */ g_signal_usr1(clear_counters); /* SIGUSR1 */ g_signal_terminate(proxy_shutdown); /* SIGTERM */ |
