s3-debug Remove 'AllowDebugChange' and use lp_set_cmdline() instead
[kai/samba.git] / nsswitch / wins.c
index b4bc788f841815865eebfb6560d561e9475011a0..aa02f32ce14cdf5cde35eae786540b665b14ce31 100644 (file)
@@ -94,8 +94,7 @@ static int wins_lookup_open_socket_in(void)
 static void nss_wins_init(void)
 {
        initialised = 1;
-       DEBUGLEVEL = 0;
-       AllowDebugChange = False;
+       lp_set_cmdline("log level", "0");
 
        TimeInit();
        setup_logging("nss_wins",False);