* cause us to exit.
*/
- saved_handler = CatchSignal( SIGTERM, SIGNAL_CAST SIG_DFL );
+ saved_handler = CatchSignal(SIGTERM, SIG_DFL);
sleep(5);
load_interfaces();
* We got an interface, restore our normal term handler.
*/
- CatchSignal( SIGTERM, SIGNAL_CAST saved_handler );
+ CatchSignal(SIGTERM, saved_handler);
}
/*
"given interfaces. Is your interface line in "
"smb.conf correct ?\n"));
- saved_handler = CatchSignal( SIGTERM, SIGNAL_CAST SIG_DFL );
+ saved_handler = CatchSignal(SIGTERM, SIG_DFL);
sleep(5);
load_interfaces();
- CatchSignal( SIGTERM, SIGNAL_CAST saved_handler );
+ CatchSignal(SIGTERM, saved_handler);
goto try_interfaces_again;
}