summaryrefslogtreecommitdiffstats
path: root/abs/extra/cups/cups-enum-all.patch
blob: 0ac39835ea1fd8df2dcd3b3fe465bd4f41fa7d5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff -up cups-1.6.2/cups/dest.c.enum-all cups-1.6.2/cups/dest.c
--- cups-1.6.2/cups/dest.c.enum-all	2013-06-04 10:58:36.169786250 +0100
+++ cups-1.6.2/cups/dest.c	2013-06-04 10:59:02.147900811 +0100
@@ -2724,9 +2724,12 @@ cups_dnssd_browse_cb(
 	break;
 
     case AVAHI_BROWSER_REMOVE:
-    case AVAHI_BROWSER_ALL_FOR_NOW:
     case AVAHI_BROWSER_CACHE_EXHAUSTED:
         break;
+
+    case AVAHI_BROWSER_ALL_FOR_NOW:
+	avahi_simple_poll_quit(data->simple_poll);
+        break;
   }
 }