summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2001-12-14 02:14:59 +0000
committerTim Potter <tpot@samba.org>2001-12-14 02:14:59 +0000
commit9f6b2411759534e65f6e9e08e9eac4efa5de4246 (patch)
treea2e0578d539699caaa6627e177693345f2a33a3f /source3/utils
parentd23723a3e4127763867e72cf6d08084afd5e8146 (diff)
downloadsamba-9f6b2411759534e65f6e9e08e9eac4efa5de4246.tar.gz
samba-9f6b2411759534e65f6e9e08e9eac4efa5de4246.tar.bz2
samba-9f6b2411759534e65f6e9e08e9eac4efa5de4246.zip
Set the debuglevel after the call to lp_load() so the change sticks.
(This used to be commit 3c927e39e7354d2f65b3ff7148fc325b41552310)
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/net.c b/source3/utils/net.c
index fde23085de..c4fcdf7a72 100644
--- a/source3/utils/net.c
+++ b/source3/utils/net.c
@@ -393,10 +393,10 @@ static struct functable net_func[] = {
}
}
- DEBUGLEVEL = debuglevel;
-
lp_load(servicesf,True,False,False);
+ DEBUGLEVEL = debuglevel;
+
argv_new = (const char **)poptGetArgs(pc);
argc_new = argc;