summaryrefslogtreecommitdiff
path: root/source3/printing/pcap.h
diff options
context:
space:
mode:
authorDavid Disseldorp <ddiss@suse.de>2010-12-28 14:55:01 +0100
committerJeremy Allison <jra@samba.org>2011-01-07 15:37:39 -0800
commitff577762b9cb37355f9433850b2119a6411e21da (patch)
tree138a2a45c4d6d322e0fc5c610069d5592b44c72f /source3/printing/pcap.h
parent0b188e7784a3f58810f871bf63d10d8a691ecbae (diff)
downloadsamba-ff577762b9cb37355f9433850b2119a6411e21da.tar.gz
samba-ff577762b9cb37355f9433850b2119a6411e21da.tar.bz2
samba-ff577762b9cb37355f9433850b2119a6411e21da.zip
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.
Diffstat (limited to 'source3/printing/pcap.h')
-rw-r--r--source3/printing/pcap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/printing/pcap.h b/source3/printing/pcap.h
index 7f8f7d2baf..4198be1de5 100644
--- a/source3/printing/pcap.h
+++ b/source3/printing/pcap.h
@@ -24,7 +24,7 @@ bool pcap_cache_add_specific(struct pcap_cache **ppcache, const char *name, cons
void pcap_cache_destroy_specific(struct pcap_cache **ppcache);
bool pcap_cache_add(const char *name, const char *comment);
bool pcap_cache_loaded(void);
-void pcap_cache_replace(const struct pcap_cache *cache);
+bool pcap_cache_replace(const struct pcap_cache *cache);
void pcap_printer_fn_specific(const struct pcap_cache *, void (*fn)(const char *, const char *, void *), void *);
void pcap_printer_fn(void (*fn)(const char *, const char *, void *), void *);