diff options
Diffstat (limited to 'source3/printing/load.c')
-rw-r--r-- | source3/printing/load.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source3/printing/load.c b/source3/printing/load.c index 4f1bb88a99..66c3ffd22c 100644 --- a/source3/printing/load.c +++ b/source3/printing/load.c @@ -54,14 +54,12 @@ static void add_auto_printers(void) } /*************************************************************************** -load automatic printer services +load automatic printer services from pre-populated pcap cache ***************************************************************************/ void load_printers(struct tevent_context *ev, struct messaging_context *msg_ctx) { - if (!pcap_cache_loaded()) { - pcap_cache_reload(ev, msg_ctx); - } + SMB_ASSERT(pcap_cache_loaded()); add_auto_printers(); |