From cf310a4306b3a4b6b9201d01c5d6dbbe5ff8f09e Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 27 Oct 2010 12:58:10 +1100 Subject: [PATCH] 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 --- source3/smbd/server_exit.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/source3/smbd/server_exit.c b/source3/smbd/server_exit.c index 9f2d6b3e9af..57fec8d96c7 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 { -- 2.34.1