summaryrefslogtreecommitdiffstats
path: root/source3/printing
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-08-08 22:54:43 +0200
committerVolker Lendecke <vl@samba.org>2010-08-08 23:37:47 +0200
commit016418d6c240da20f010d2bbd95051feef0a5244 (patch)
treed4d2458f123fcf3a2e77cd911f42e62df3389d38 /source3/printing
parent1c1d83a5327b86042df7c33d075e05adff7a30f2 (diff)
downloadsamba-016418d6c240da20f010d2bbd95051feef0a5244.tar.gz
samba-016418d6c240da20f010d2bbd95051feef0a5244.tar.xz
samba-016418d6c240da20f010d2bbd95051feef0a5244.zip
s3: Remove the smbd_messaging_context from load_printers
Diffstat (limited to 'source3/printing')
-rw-r--r--source3/printing/load.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/printing/load.c b/source3/printing/load.c
index 58ff8812f4e..dd5d4ea2770 100644
--- a/source3/printing/load.c
+++ b/source3/printing/load.c
@@ -52,11 +52,11 @@ static void add_auto_printers(void)
/***************************************************************************
load automatic printer services
***************************************************************************/
-void load_printers(void)
+void load_printers(struct tevent_context *ev,
+ struct messaging_context *msg_ctx)
{
if (!pcap_cache_loaded()) {
- pcap_cache_reload(server_event_context(),
- server_messaging_context());
+ pcap_cache_reload(ev, msg_ctx);
}
add_auto_printers();