Remove the char[1024] strings from dynconfig. Replace
[kai/samba.git] / source3 / utils / smbcontrol.c
index 835adca4bdb05cbe356579fefea150750a124194..fe0c22911ea7486d0f15f6415b9c84cafbbe0718 100644 (file)
@@ -1340,7 +1340,7 @@ int main(int argc, const char **argv)
        if (argc <= 1)
                usage(pc);
 
-       lp_load(dyn_CONFIGFILE,False,False,False,True);
+       lp_load(get_dyn_CONFIGFILE(),False,False,False,True);
 
        /* Need to invert sense of return code -- samba
          * routines mostly return True==1 for success, but