s3-spoolssd: Remove stale printers only on a valid pcap update.
authorAndreas Schneider <asn@samba.org>
Thu, 1 Sep 2011 12:25:07 +0000 (14:25 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Mon, 5 Sep 2011 09:18:23 +0000 (11:18 +0200)
commitad3734194991f55492b92a6330f055c10e6fd1e1
treeeeeb40e70c6653a12a9bc094440700bfd911b887
parent1316bc4b081c1b3b8499ac2b699be29dca247331
s3-spoolssd: Remove stale printers only on a valid pcap update.

load_printers() removes stale printers and we should only remove them if
we have a CUPS connection and talked to cups. Else we will remove every
configured printer if cups is not available.

Autobuild-User: Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date: Mon Sep  5 11:18:23 CEST 2011 on sn-devel-104
source3/printing/spoolssd.c