summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>2002-01-04 18:17:26 +0000
committerHerb Lewis <herb@samba.org>2002-01-04 18:17:26 +0000
commitc10088a28db99b699e90f1e60cb21cf185c624c6 (patch)
tree4ef518ba613ee498187475d2e23ca982d9ad0664
parentef59b79c310eff07c4c9ed8e1b502de95a78b1cf (diff)
downloadsamba-c10088a28db99b699e90f1e60cb21cf185c624c6.tar.gz
samba-c10088a28db99b699e90f1e60cb21cf185c624c6.tar.xz
samba-c10088a28db99b699e90f1e60cb21cf185c624c6.zip
make smbstatus honor command line debug level
-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;