Commit Graph

2 Commits

Author SHA1 Message Date
Tim Waugh
aefd94790a Prevent libcups crash in cups-get-classes patch (bug #736698).
In cups_get_sdests(), when checking whether CUPS_GET_CLASSES is required
by determining whether any classes were returned by the
CUPS_GET_PRINTERS request, only call cups_find_dest() if any queues
were returned at all.
2011-09-14 12:06:07 +01:00
Tim Waugh
bbd55382a3 - Cheaply restore compatibility with 1.1.x by having cups_get_sdests()
perform a CUPS_GET_CLASSES request if it is not sure it is talking to
    CUPS 1.2 or later (bug #512866).
2009-07-28 21:39:42 +00:00