cups/cups-no-dest.patch

20 lines
590 B
Diff

diff -up cups-2.2.4/cups/dest.c.no-dest cups-2.2.4/cups/dest.c
--- cups-2.2.4/cups/dest.c.no-dest 2017-10-02 10:39:19.615395062 +0200
+++ cups-2.2.4/cups/dest.c 2017-10-02 10:39:54.361104943 +0200
@@ -2059,15 +2059,6 @@ cupsGetDests2(http_t *http, /* I -
cupsEnumDests(0, 1000, NULL, 0, 0, (cups_dest_cb_t)cups_get_cb, &data);
- if (cupsLastError() >= IPP_STATUS_REDIRECTION_OTHER_SITE)
- {
- cupsFreeDests(data.num_dests, data.dests);
-
- *dests = (cups_dest_t *)0;
-
- return (0);
- }
-
/*
* Make a copy of the "real" queues for a later sanity check...
*/