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