s3-printing: remove duplicate cups response processing code
authorDavid Disseldorp <ddiss@suse.de>
Tue, 24 May 2011 09:50:12 +0000 (11:50 +0200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 26 May 2011 18:25:17 +0000 (20:25 +0200)
commita3635edc96e481f1125db1c26e33cae5b22a01a4
tree7954aac6cc847b00c712d3ba4ba42a0b71cc2000
parente5a0ac40d7467bb6ce07d942fdadb43f1ec81bfc
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