s3-printing: remove unneeded local_pcap_copy global
authorDavid Disseldorp <ddiss@suse.de>
Thu, 30 Dec 2010 13:32:29 +0000 (14:32 +0100)
committerAndreas Schneider <asn@samba.org>
Fri, 4 Mar 2011 14:46:20 +0000 (15:46 +0100)
commit624e33f8697a7c9215028d4d70edd70ee49ad005
tree31868017702738fba5c111bda639c4b555b3373e
parent61bf4699f0f8b353272c060b8309f339ed2a0f88
s3-printing: remove unneeded local_pcap_copy global

The cups local_pcap_copy global served as a temporary buffer during
asynchronous cups printcap cache updates, as well as indicating when
the printcap cache had not yet been filled and printcap cache update
should block.

As smbd printcap reads are now triggered by the parent smbd following
printcap cache update, the variable and blocking mechanism are no longer
needed.

Signed-off-by: Andreas Schneider <asn@samba.org>
source3/printing/print_cups.c