summaryrefslogtreecommitdiff
path: root/source3/printing/load.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/load.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/load.c')
-rw-r--r--source3/printing/load.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/printing/load.c b/source3/printing/load.c
index 99b5226159..58ff8812f4 100644
--- a/source3/printing/load.c
+++ b/source3/printing/load.c
@@ -54,8 +54,10 @@ load automatic printer services
***************************************************************************/
void load_printers(void)
{
- if (!pcap_cache_loaded())
- pcap_cache_reload();
+ if (!pcap_cache_loaded()) {
+ pcap_cache_reload(server_event_context(),
+ server_messaging_context());
+ }
add_auto_printers();