summaryrefslogtreecommitdiff
path: root/source3/winbindd
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-03-22 14:05:23 +1100
committerAndrew Tridgell <tridge@samba.org>2011-03-22 05:07:58 +0100
commitc8297073dbaf19237891fd97d9e62dc00ad4e1f0 (patch)
tree14046c43f59dfcd69e789a8c871e665bc4ccb009 /source3/winbindd
parent4928d66fc2f469b75090c34f8d233026485e4a1e (diff)
downloadsamba-c8297073dbaf19237891fd97d9e62dc00ad4e1f0.tar.gz
samba-c8297073dbaf19237891fd97d9e62dc00ad4e1f0.tar.bz2
samba-c8297073dbaf19237891fd97d9e62dc00ad4e1f0.zip
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 <tridge@samba.org> Autobuild-Date: Tue Mar 22 05:07:58 CET 2011 on sn-devel-104
Diffstat (limited to 'source3/winbindd')
-rw-r--r--source3/winbindd/winbindd.c11
1 files changed, 1 insertions, 10 deletions
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();