s3-printing: remove old entries in pcap_cache_replace
authorDavid Disseldorp <ddiss@suse.de>
Tue, 28 Dec 2010 13:55:01 +0000 (14:55 +0100)
committerJeremy Allison <jra@samba.org>
Fri, 7 Jan 2011 23:37:39 +0000 (15:37 -0800)
commitff577762b9cb37355f9433850b2119a6411e21da
tree138a2a45c4d6d322e0fc5c610069d5592b44c72f
parent0b188e7784a3f58810f871bf63d10d8a691ecbae
s3-printing: remove old entries in pcap_cache_replace

Callers of pcap_cache_replace() assume the existing printcap cache is
replaced by the new values provided. This is not currently the case,
old entries should be removed.
source3/printing/pcap.c
source3/printing/pcap.h
source3/printing/print_cups.c