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, 18 Aug 2011 19:15:04 +0000 (21:15 +0200)
commitdeb939d77acfcd03f07435d9268bedb6b9ddb8b6
treeaef17e3f80fe0b8ccd81a1b608bc2afd629d92d6
parent75d9ea6bdbd3d858d4648faa8a98fbf3e6ae7208
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 a3635edc96e481f1125db1c26e33cae5b22a01a4)
source3/printing/print_cups.c