summaryrefslogtreecommitdiffstats
path: root/source/utils/status.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/utils/status.c')
-rw-r--r--source/utils/status.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/utils/status.c b/source/utils/status.c
index 293eb3d0ade..2586c2ae4c7 100644
--- a/source/utils/status.c
+++ b/source/utils/status.c
@@ -45,6 +45,7 @@ struct session_record{
} *srecs;
extern FILE *dbf;
+extern BOOL AllowDebugChange;
static pstring Ucrit_username = ""; /* added by OH */
static pid_t Ucrit_pid[100]; /* Ugly !!! */ /* added by OH */
@@ -578,6 +579,7 @@ static int traverse_fn1(TDB_CONTEXT *tdb, TDB_DATA kbuf, TDB_DATA dbuf, void *st
charset_initialise();
+ AllowDebugChange = False;
DEBUGLEVEL = 0;
dbf = stderr;