FSCORE-456

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15051 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2009-10-02 15:07:18 +00:00
parent be109957ba
commit 2c620d4b00
2 changed files with 112 additions and 138 deletions

View File

@@ -1346,13 +1346,6 @@ static void handle_SIGBUS(int sig)
}
#endif
/* no ctl-c mofo */
static void handle_SIGINT(int sig)
{
if (sig);
return;
}
static void handle_SIGHUP(int sig)
{
if (sig) {
@@ -1463,7 +1456,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_init_and_modload(switch_core_flag_t
}
/* set signal handlers */
signal(SIGINT, handle_SIGINT);
signal(SIGINT, SIG_IGN);
#ifdef SIGPIPE
signal(SIGPIPE, handle_SIGPIPE);
#endif