summaryrefslogtreecommitdiffstats
path: root/source3/printing/spoolssd.c
diff options
context:
space:
mode:
authorDavid Disseldorp <ddiss@samba.org>2014-07-23 12:12:34 +0200
committerAndreas Schneider <asn@cryptomilk.org>2014-08-08 14:10:39 +0200
commit30ce835670a6aeca6fb960ea7c4fe1b982bdd5b0 (patch)
tree5f35382ff5cec2ba060a5faba1142d6184556916 /source3/printing/spoolssd.c
parent6d75e20ca8acf1a55838694ac77940e21e9a1e6a (diff)
downloadsamba-30ce835670a6aeca6fb960ea7c4fe1b982bdd5b0.tar.gz
samba-30ce835670a6aeca6fb960ea7c4fe1b982bdd5b0.tar.xz
samba-30ce835670a6aeca6fb960ea7c4fe1b982bdd5b0.zip
printing: return last change time with pcap_cache_loaded()
Bug: https://bugzilla.samba.org/show_bug.cgi?id=10652 Signed-off-by: David Disseldorp <ddiss@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source3/printing/spoolssd.c')
-rw-r--r--source3/printing/spoolssd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/printing/spoolssd.c b/source3/printing/spoolssd.c
index afb8f4fd2f..b850578e79 100644
--- a/source3/printing/spoolssd.c
+++ b/source3/printing/spoolssd.c
@@ -304,7 +304,7 @@ static bool spoolss_child_init(struct tevent_context *ev_ctx,
* If so then we probably missed a message and should load_printers()
* ourselves. If pcap has not been loaded yet, then ignore, we will get
* a message as soon as the bq process completes the reload. */
- if (pcap_cache_loaded()) {
+ if (pcap_cache_loaded(NULL)) {
load_printers(ev_ctx, msg_ctx);
}
@@ -724,7 +724,7 @@ pid_t start_spoolssd(struct tevent_context *ev_ctx,
* If pcap has not been loaded yet, then ignore, as we will reload on
* client enumeration anyway.
*/
- if (pcap_cache_loaded()) {
+ if (pcap_cache_loaded(NULL)) {
load_printers(ev_ctx, msg_ctx);
}