update logger stuff

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6510 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2007-12-04 23:47:27 +00:00
parent 7b34d76091
commit a1e9233eff
3 changed files with 345 additions and 295 deletions

View File

@@ -62,7 +62,7 @@ static HANDLE shutdown_event;
/* signal handler for when freeswitch is running in background mode.
* signal triggers the shutdown of freeswitch
*/
static void handle_SIGHUP(int sig)
static void handle_SIGTERM(int sig)
{
int32_t arg = 0;
if (sig);
@@ -390,11 +390,9 @@ int main(int argc, char *argv[])
return 255;
}
signal(SIGTERM, handle_SIGTERM);
if (nc) {
signal(SIGHUP, handle_SIGHUP);
signal(SIGTERM, handle_SIGHUP);
#ifdef WIN32
FreeConsole();
#else