diff options
author | Andrew Tridgell <tridge@samba.org> | 2011-03-22 14:05:23 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2011-03-22 05:07:58 +0100 |
commit | c8297073dbaf19237891fd97d9e62dc00ad4e1f0 (patch) | |
tree | 14046c43f59dfcd69e789a8c871e665bc4ccb009 /source3/nmbd | |
parent | 4928d66fc2f469b75090c34f8d233026485e4a1e (diff) | |
download | samba-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/nmbd')
-rw-r--r-- | source3/nmbd/nmbd.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/source3/nmbd/nmbd.c b/source3/nmbd/nmbd.c index a5727ce14f..1735c90576 100644 --- a/source3/nmbd/nmbd.c +++ b/source3/nmbd/nmbd.c @@ -161,15 +161,6 @@ static void nmbd_terminate(struct messaging_context *msg, } /**************************************************************************** ** - Possibly continue after a fault. - **************************************************************************** */ - -static void fault_continue(void) -{ - dump_core(); -} - -/**************************************************************************** ** Expire old names from the namelist and server list. **************************************************************************** */ @@ -820,7 +811,7 @@ static bool open_sockets(bool isdaemon, int port) SAFE_FREE(lfile); } - fault_setup((void (*)(void *))fault_continue ); + fault_setup(); dump_core_setup("nmbd"); /* POSIX demands that signals are inherited. If the invoking process has |