Fix bug #8157 - std_pcap_cache_reload() fails to parse a cups printcap file correctly.
authorJeremy Allison <jra@samba.org>
Fri, 20 May 2011 19:36:56 +0000 (12:36 -0700)
committerKarolin Seeger <kseeger@samba.org>
Tue, 14 Jun 2011 10:58:18 +0000 (12:58 +0200)
commitdadf4450433a5f5cd515e0096382f077bfbdbf14
tree42db97ae535e77d3c5c2b0f2c88e155e6bacf6ed
parent1a4449eb7cccd581fb70ca1362d329c45a53b9d0
Fix bug #8157 - std_pcap_cache_reload() fails to parse a cups printcap file correctly.

The parsing code made some strange assumptions about what is a printer
name, and what is a comment.
(cherry picked from commit ef1a0c14ab41c87f133d310c5f976548caf15b9a)
source3/printing/pcap.c