summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>1998-12-11 21:38:46 +0000
committerHerb Lewis <herb@samba.org>1998-12-11 21:38:46 +0000
commit3ec09ffc31709775bf048576916dc7001735e9cb (patch)
tree160d7bd6ad031a9d0f80d0643256de2a2a274285
parentf2ff57d5611f5756fe3558c8efc7f77014ff000c (diff)
downloadsamba-3ec09ffc31709775bf048576916dc7001735e9cb.tar.gz
samba-3ec09ffc31709775bf048576916dc7001735e9cb.tar.xz
samba-3ec09ffc31709775bf048576916dc7001735e9cb.zip
need to reload auto printer services on a save_reload
-rw-r--r--source/web/swat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/web/swat.c b/source/web/swat.c
index 9a0198920c4..125f4ba4542 100644
--- a/source/web/swat.c
+++ b/source/web/swat.c
@@ -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;
}