summaryrefslogtreecommitdiff
path: root/extra/cups/cups-enum-all.patch
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-06-19 01:37:15 -0700
committerroot <root@rshg054.dnsready.net>2013-06-19 01:37:15 -0700
commit603bdf488872afbc69493bc640aedb7548f3ed51 (patch)
tree60945d453f0d8b5f8fb9ed8cb8d4e35c5d8d5dcf /extra/cups/cups-enum-all.patch
parent614d2fec699c594b1a3a25c973e0b5150302ff0e (diff)
Wed Jun 19 01:36:52 PDT 2013
Diffstat (limited to 'extra/cups/cups-enum-all.patch')
-rw-r--r--extra/cups/cups-enum-all.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/extra/cups/cups-enum-all.patch b/extra/cups/cups-enum-all.patch
new file mode 100644
index 000000000..0ac39835e
--- /dev/null
+++ b/extra/cups/cups-enum-all.patch
@@ -0,0 +1,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;
+ }
+ }
+