Set the debuglevel after the call to lp_load() so the change sticks.
authorTim Potter <tpot@samba.org>
Fri, 14 Dec 2001 02:14:59 +0000 (02:14 +0000)
committerTim Potter <tpot@samba.org>
Fri, 14 Dec 2001 02:14:59 +0000 (02:14 +0000)
source/utils/net.c

index fde23085def726a2524b4a2c740aba0d37f9f412..c4fcdf7a722229ee63397c18639adca766916cce 100644 (file)
@@ -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;