Author: tjansen Date: Thu Nov 12 14:01:11 2009 New Revision: 1659 Log: Removed code that restores the default signal handler. We call exit() immediately, no need to reset those handlers. This is done in the client daemon only because we resume the main loop for a while to send out pending deregister messages. Modified: trunk/pisabeacon/beaconmain.c Modified: trunk/pisabeacon/beaconmain.c ============================================================================== --- trunk/pisabeacon/beaconmain.c Thu Nov 12 14:00:26 2009 (r1658) +++ trunk/pisabeacon/beaconmain.c Thu Nov 12 14:01:11 2009 (r1659) @@ -118,9 +118,6 @@ } printf("Quitting PISA location server daemon...\n"); - - /* Reinstall default handler for that signal */ - signal(quitcode, SIG_DFL); exit(EXIT_SUCCESS); }