cups-browsed: Call cupsGetNamedDest() only if "OnlyUnsupportedByCUPS No"
@@ -7807,6 +7807,8 @@ gboolean update_cups_queues(gpointer unused) {
#ifdef HAVE_CUPS_1_6
/* Check whether there is a temporary CUPS queue which we would
overwrite */
+ dest = NULL;
+ if (OnlyUnsupportedByCUPS == 0)
dest = cupsGetNamedDest(http, p->queue_name, NULL);
if (dest) {
/* CUPS has found a queue with this name.
