diff options
author | David Disseldorp <ddiss@suse.de> | 2011-05-19 11:26:18 +0200 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2011-08-18 21:14:41 +0200 |
commit | 41792ec4f1cf6f90724aa8fc65cecdaa5566fdcf (patch) | |
tree | eee2f2e04972a74449eae77d194af16cffa40827 /source3/printing/load.c | |
parent | 999514b140c5f85497109da558d5e8630d59b57e (diff) | |
download | samba-41792ec4f1cf6f90724aa8fc65cecdaa5566fdcf.tar.gz |
Revert "Revert "s3-printing: reload shares after pcap cache fill""
This reverts commit 36ea03bbe28122ce03de4969e254dd276cfe5a79.
Signed-off-by: Günther Deschner <gd@samba.org>
(cherry picked from commit 3e1969d229dff2921b43189969dfbe522b167cc2)
Diffstat (limited to 'source3/printing/load.c')
-rw-r--r-- | source3/printing/load.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source3/printing/load.c b/source3/printing/load.c index 874f7f25215..00da9cb2921 100644 --- a/source3/printing/load.c +++ b/source3/printing/load.c @@ -53,12 +53,11 @@ static void add_auto_printers(void) } /*************************************************************************** -load automatic printer services +load automatic printer services from pre-populated pcap cache ***************************************************************************/ void load_printers(void) { - if (!pcap_cache_loaded()) - pcap_cache_reload(); + SMB_ASSERT(pcap_cache_loaded()); add_auto_printers(); |