s3-printing: remove duplicate cups response processing code
commit4f0077cd6a8ffcb9f4980d71c9fc434f7fc1051c
authorDavid Disseldorp <ddiss@suse.de>
Tue, 24 May 2011 09:50:12 +0000 (24 11:50 +0200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 26 May 2011 18:24:14 +0000 (26 20:24 +0200)
treec8d8432d058437374343c20bc5b627df099b837e
parent53ecbc4a8cffe24f94d3e624faf3a9ea9067cc23
s3-printing: remove duplicate cups response processing code

There is currently a lot of duplicate code included for processing
responses to CUPS_GET_PRINTERS and CUPS_GET_CLASSES requests. This
change splits this code into a separate function.

Signed-off-by: Günther Deschner <gd@samba.org>
source3/printing/print_cups.c