summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-10-27 12:58:10 +1100
committerAndrew Bartlett <abartlet@samba.org>2010-10-27 04:42:06 +0000
commitcf310a4306b3a4b6b9201d01c5d6dbbe5ff8f09e (patch)
tree909b67e8575669d1981e0ef16eb245247d7974c3
parent4c634a3b2e22b45027a1d376573575463a460846 (diff)
downloadsamba-cf310a4306b3a4b6b9201d01c5d6dbbe5ff8f09e.tar.gz
samba-cf310a4306b3a4b6b9201d01c5d6dbbe5ff8f09e.tar.bz2
samba-cf310a4306b3a4b6b9201d01c5d6dbbe5ff8f09e.zip
s3-smbd Remove manual override of DEBUGELVEL during exit
This code, originally added at the dawn of time (the import into CVS) does not seem to be required any more, as all the DEBUG() statements in the intermediate functions are at level 0. Andrew Bartlett
-rw-r--r--source3/smbd/server_exit.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/source3/smbd/server_exit.c b/source3/smbd/server_exit.c
index 9f2d6b3e9a..57fec8d96c 100644
--- a/source3/smbd/server_exit.c
+++ b/source3/smbd/server_exit.c
@@ -127,10 +127,6 @@ static void exit_server_common(enum server_exit_reason how,
TALLOC_FREE(smbd_memcache_ctx);
if (how != SERVER_EXIT_NORMAL) {
- int oldlevel = DEBUGLEVEL;
-
- DEBUGLEVEL = 10;
-
DEBUGSEP(0);
DEBUG(0,("Abnormal server exit: %s\n",
reason ? reason : "no explanation provided"));
@@ -138,7 +134,6 @@ static void exit_server_common(enum server_exit_reason how,
log_stack_trace();
- DEBUGLEVEL = oldlevel;
dump_core();
} else {