diff options
Diffstat (limited to 'source3/nmbd/nmbd_subnetdb.c')
-rw-r--r-- | source3/nmbd/nmbd_subnetdb.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/nmbd/nmbd_subnetdb.c b/source3/nmbd/nmbd_subnetdb.c index 703e229052c..4fb14250946 100644 --- a/source3/nmbd/nmbd_subnetdb.c +++ b/source3/nmbd/nmbd_subnetdb.c @@ -251,7 +251,7 @@ bool create_subnets(void) * cause us to exit. */ - saved_handler = CatchSignal( SIGTERM, SIGNAL_CAST SIG_DFL ); + saved_handler = CatchSignal(SIGTERM, SIG_DFL); sleep(5); load_interfaces(); @@ -260,7 +260,7 @@ bool create_subnets(void) * We got an interface, restore our normal term handler. */ - CatchSignal( SIGTERM, SIGNAL_CAST saved_handler ); + CatchSignal(SIGTERM, saved_handler); } /* @@ -312,12 +312,12 @@ bool create_subnets(void) "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; } |