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>
Tue, 14 Jun 2011 10:58:34 +0000 (12:58 +0200)
commitb463390ec9500cbaa7efe45ee6baefe05bb16f39
tree61fb457e5d7178934d1c3d7ea64cffdbcceb445c
parent5cadaab50e26328c2a3a63146a521ad1a4adc483
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>
(cherry picked from commit 4f0077cd6a8ffcb9f4980d71c9fc434f7fc1051c)
source3/printing/print_cups.c