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>
Sat, 8 Jan 2011 04:14:08 +0000 (20:14 -0800)
commitcde4ebd2bf9c2288fe954e3c51c8cf3b0ec3fb2d
treef8523a52a1bb4d55b9c14f981c76a86ecbb9cd91
parent29d67d615278f00e9bc6ae4583c209fa836f3b72
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