1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-26 21:57:41 +03:00

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
This commit is contained in:
Andrew Bartlett 2010-10-27 12:58:10 +11:00
parent 4c634a3b2e
commit cf310a4306

View File

@ -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 {