git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
s3-printing: reload shares after pcap cache fill
[samba.git]
/
source3
/
web
/
swat.c
diff --git
a/source3/web/swat.c
b/source3/web/swat.c
index 4bfb731814807847171953f688226fda824c8074..67410824c125bc3780ee79b351365f26a51c6794 100644
(file)
--- a/
source3/web/swat.c
+++ b/
source3/web/swat.c
@@
-490,7
+490,7
@@
static int save_reload(int snum)
return 0;
}
iNumNonAutoPrintServices = lp_numservices();
return 0;
}
iNumNonAutoPrintServices = lp_numservices();
-
load_printers(
);
+
pcap_cache_reload(&load_printers
);
return 1;
}
return 1;
}
@@
-1434,7
+1434,7
@@
const char *lang_msg_rotate(TALLOC_CTX *ctx, const char *msgid)
load_config(True);
load_interfaces();
iNumNonAutoPrintServices = lp_numservices();
load_config(True);
load_interfaces();
iNumNonAutoPrintServices = lp_numservices();
-
load_printers(
);
+
pcap_cache_reload(&load_printers
);
cgi_setup(get_dyn_SWATDIR(), !demo_mode);
cgi_setup(get_dyn_SWATDIR(), !demo_mode);