summaryrefslogtreecommitdiff
path: root/source3/printing/pcap.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-08-08 22:53:02 +0200
committerVolker Lendecke <vl@samba.org>2010-08-08 23:37:47 +0200
commit1c1d83a5327b86042df7c33d075e05adff7a30f2 (patch)
treeda71f7ac91d27a7602ffdfa2fb076709d986a996 /source3/printing/pcap.c
parent795589b4f81b8d40d3cd6a53b85153df01e3ff01 (diff)
downloadsamba-1c1d83a5327b86042df7c33d075e05adff7a30f2.tar.gz
samba-1c1d83a5327b86042df7c33d075e05adff7a30f2.tar.bz2
samba-1c1d83a5327b86042df7c33d075e05adff7a30f2.zip
s3: Remove the smbd_messaging_context from pcap_cache_reload
Diffstat (limited to 'source3/printing/pcap.c')
-rw-r--r--source3/printing/pcap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/printing/pcap.c b/source3/printing/pcap.c
index d8b716028e..d9c2941abe 100644
--- a/source3/printing/pcap.c
+++ b/source3/printing/pcap.c
@@ -101,7 +101,8 @@ void pcap_cache_replace(const struct pcap_cache *pcache)
}
}
-void pcap_cache_reload(void)
+void pcap_cache_reload(struct tevent_context *ev,
+ struct messaging_context *msg_ctx)
{
const char *pcap_name = lp_printcapname();
bool pcap_reloaded = False;
@@ -120,8 +121,7 @@ void pcap_cache_reload(void)
#ifdef HAVE_CUPS
if (strequal(pcap_name, "cups")) {
- pcap_reloaded = cups_cache_reload(server_event_context(),
- server_messaging_context());
+ pcap_reloaded = cups_cache_reload(ev, msg_ctx);
goto done;
}
#endif