diff options
Diffstat (limited to 'source3/printing/load.c')
-rw-r--r-- | source3/printing/load.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/printing/load.c b/source3/printing/load.c index 58ff8812f4..dd5d4ea277 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(); |