Ticket #9471: cups-2.2.4-cupsgetdests-1.patch
File cups-2.2.4-cupsgetdests-1.patch, 565 bytes (added by , 6 years ago) |
---|
-
cups/dest.c
diff -ruN cups-2.2.4/cups/dest.c cups-2.2.4-cupsgetdests-1/cups/dest.c
old new 2059 2059 2060 2060 cupsEnumDests(0, 1000, NULL, 0, 0, (cups_dest_cb_t)cups_get_cb, &data); 2061 2061 2062 if (cupsLastError() >= IPP_STATUS_REDIRECTION_OTHER_SITE)2063 {2064 cupsFreeDests(data.num_dests, data.dests);2065 2066 *dests = (cups_dest_t *)0;2067 2068 return (0);2069 }2070 2071 2062 /* 2072 2063 * Make a copy of the "real" queues for a later sanity check... 2073 2064 */