fee478c5ac
Resolves: rhbz#1054312
21 lines
887 B
Diff
21 lines
887 B
Diff
diff -up cups-1.7.1/cups/dest.c.str4380 cups-1.7.1/cups/dest.c
|
|
--- cups-1.7.1/cups/dest.c.str4380 2014-03-05 13:09:02.211609453 +0000
|
|
+++ cups-1.7.1/cups/dest.c 2014-03-05 13:09:58.871858297 +0000
|
|
@@ -953,11 +953,11 @@ cupsEnumDests(
|
|
* Get Bonjour-shared printers...
|
|
*/
|
|
|
|
- data.type = type;
|
|
- data.mask = mask;
|
|
- data.devices = cupsArrayNew3((cups_array_func_t)cups_dnssd_compare_devices,
|
|
- NULL, NULL, 0, NULL,
|
|
- (cups_afree_func_t)cups_dnssd_free_device);
|
|
+ data.type = type;
|
|
+ data.mask = mask;
|
|
+ data.cb = cb;
|
|
+ data.user_data = user_data;
|
|
+ data.devices = cupsArrayNew3((cups_array_func_t)cups_dnssd_compare_devices, NULL, NULL, 0, NULL, (cups_afree_func_t)cups_dnssd_free_device);
|
|
|
|
# ifdef HAVE_DNSSD
|
|
if (DNSServiceCreateConnection(&data.main_ref) != kDNSServiceErr_NoError)
|