From c8297073dbaf19237891fd97d9e62dc00ad4e1f0 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 22 Mar 2011 14:05:23 +1100 Subject: s3-fault: removed the cont_fn from fault_setup() cont_fn() was supposed to be a way to continue after a seg fault. It could never be called however, as smb_panic() from fault_report() could never return, as dump_core() never returns at the end of smb_panic() Autobuild-User: Andrew Tridgell Autobuild-Date: Tue Mar 22 05:07:58 CET 2011 on sn-devel-104 --- source3/winbindd/winbindd.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'source3/winbindd') diff --git a/source3/winbindd/winbindd.c b/source3/winbindd/winbindd.c index 766d8ef401..99e98ac2b0 100644 --- a/source3/winbindd/winbindd.c +++ b/source3/winbindd/winbindd.c @@ -86,15 +86,6 @@ static bool reload_services_file(const char *lfile) } -/**************************************************************************** ** - Handle a fault.. - **************************************************************************** */ - -static void fault_quit(void) -{ - dump_core(); -} - static void winbindd_status(void) { struct winbindd_cli_state *tmp; @@ -1238,7 +1229,7 @@ int main(int argc, char **argv, char **envp) CatchSignal(SIGUSR1, SIG_IGN); CatchSignal(SIGUSR2, SIG_IGN); - fault_setup((void (*)(void *))fault_quit ); + fault_setup(); dump_core_setup("winbindd"); load_case_tables(); -- cgit