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/web/swat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/web') diff --git a/source3/web/swat.c b/source3/web/swat.c index 00fbb878562..54f4cd7b202 100644 --- a/source3/web/swat.c +++ b/source3/web/swat.c @@ -1403,7 +1403,7 @@ const char *lang_msg_rotate(TALLOC_CTX *ctx, const char *msgid) }; TALLOC_CTX *frame = talloc_stackframe(); - fault_setup(NULL); + fault_setup(); umask(S_IWGRP | S_IWOTH); #if defined(HAVE_SET_AUTH_PARAMETERS) -- cgit v1.2.1