summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-03-05 21:37:50 +0000
committerJeremy Allison <jra@samba.org>2002-03-05 21:37:50 +0000
commit095b903325bc6c54a0c7406cac2f48103805c73c (patch)
treef700cfb659a1126ff9578bea5d9b847fd2472f42 /source3/smbd
parentd160b3524063607b6e7431ec5973af3eaa176f6c (diff)
downloadsamba-095b903325bc6c54a0c7406cac2f48103805c73c.tar.gz
samba-095b903325bc6c54a0c7406cac2f48103805c73c.tar.bz2
samba-095b903325bc6c54a0c7406cac2f48103805c73c.zip
Added Herb's fix to override log level from command line.
Jeremy. (This used to be commit 439839be99e6e418eb5782a2fe0630d0ef5fb3c5)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/server.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index 50f09cf6e6..02f52e2392 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -589,6 +589,7 @@ static void usage(char *pname)
int main(int argc,char *argv[])
{
extern BOOL append_log;
+ extern BOOL AllowDebugChange;
extern char *optarg;
/* shall I run as a daemon */
BOOL is_daemon = False;
@@ -645,6 +646,7 @@ static void usage(char *pname)
DEBUGLEVEL = 10000;
else
DEBUGLEVEL = atoi(optarg);
+ AllowDebugChange = False;
break;
case 'p':