r3708: BUG 1838: patch from Gavrie Philipson <gavrie@disksites.com> to remove stale...
[ira/wip.git] / source / smbd / server.c
index 82da85767bda0e2b8780ebd814f68498bd5d0bf4..e40d1f8bc7fb753b967d2b3934adf0e875eeac71 100644 (file)
@@ -482,9 +482,10 @@ BOOL reload_services(BOOL test)
                return(True);
 
        lp_killunused(conn_snum_used);
-       
+
        ret = lp_load(dyn_CONFIGFILE, False, False, True);
 
+       remove_stale_printers();
        load_printers();
 
        /* perhaps the config filename is now set */