need to reload auto printer services on a save_reload
authorHerb Lewis <herb@samba.org>
Fri, 11 Dec 1998 21:38:46 +0000 (21:38 +0000)
committerHerb Lewis <herb@samba.org>
Fri, 11 Dec 1998 21:38:46 +0000 (21:38 +0000)
source/web/swat.c

index 9a0198920c40ecbec2f607eea6602e7053e814fb..125f4ba454205cbef06d490780c0195842df0b00 100644 (file)
@@ -337,6 +337,8 @@ static int save_reload(int snum)
                 printf("Can't reload %s\n", servicesf);
                 return 0;
         }
+       iNumNonAutoPrintServices = lp_numservices();
+       load_printers();
 
        return 1;
 }