aefd947 Prevent libcups crash in cups-get-classes patch (bug #736698).

Authored and Committed by twaugh 12 years ago
    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.
    
        
file modified
+9 -9
file modified
+4 -1