printing: check lp_load_printers() prior to pcap cache update
authorDavid Disseldorp <ddiss@samba.org>
Tue, 29 Jan 2019 00:55:04 +0000 (01:55 +0100)
committerNoel Power <npower@samba.org>
Fri, 1 Feb 2019 18:25:03 +0000 (19:25 +0100)
commit6a77237c50dd258521f356af0b5dc9942dd5592e
tree0af645b40a35d58956c1bc2be5d687b96a5ff2bf
parent0ae7c3144a30910adb1e54cf46d54d42a1036839
printing: check lp_load_printers() prior to pcap cache update

Avoid explicit and housekeeping timer triggered printcap cache updates
if lp_load_printers() is disabled.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=13766

Signed-off-by: David Disseldorp <ddiss@samba.org>
Autobuild-User(master): Noel Power <npower@samba.org>
Autobuild-Date(master): Fri Feb  1 19:25:03 CET 2019 on sn-devel-144
source3/printing/pcap.c
source3/printing/queue_process.c