diff options
author | David Disseldorp <ddiss@samba.org> | 2014-07-23 12:12:34 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2014-08-08 14:10:39 +0200 |
commit | 30ce835670a6aeca6fb960ea7c4fe1b982bdd5b0 (patch) | |
tree | 5f35382ff5cec2ba060a5faba1142d6184556916 /source3/printing/spoolssd.c | |
parent | 6d75e20ca8acf1a55838694ac77940e21e9a1e6a (diff) | |
download | samba-30ce835670a6aeca6fb960ea7c4fe1b982bdd5b0.tar.gz |
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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/printing/spoolssd.c b/source3/printing/spoolssd.c index afb8f4fd2fe..b850578e79f 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); } |