]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Fax queues did not work when shared via Bonjour (<rdar://problem/14498310>)
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Fri, 26 Jul 2013 03:12:37 +0000 (03:12 +0000)
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Fri, 26 Jul 2013 03:12:37 +0000 (03:12 +0000)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11193 a1ca3aef-8c08-0410-bb20-df032aa958be

CHANGES.txt
cups/http-support.c
scheduler/dirsvc.c

index 2a07b40e76e8e86bf97f2b288a03a6e8a518086b..48f32de701b57386e1622b76442b92c5e00cdef9 100644 (file)
@@ -1,8 +1,10 @@
-CHANGES.txt - 1.7.0 - 2013-07-24
+CHANGES.txt - 1.7.0 - 2013-07-25
 --------------------------------
 
 CHANGES IN CUPS V1.7.0
 
+       - Fax queues did not work when shared via Bonjour
+         (<rdar://problem/14498310>)
        - Added an Italian localization (<rdar://problem/14481578>)
        - Fixed a couple memory leaks in ippfind that were reported by Clang.
        - Fixed a compile issue on 64-bit Linux with Clang - need to use the
index 4fac9fe798fad2c77f2c1b4ce735c5d7ba963a80..1aa4a16348ada16dda5d7815abd7e84e34cf4a07 100644 (file)
@@ -2056,7 +2056,8 @@ http_resolve_cb(
   */
 
   if ((uribuf->options & _HTTP_RESOLVE_FAXOUT) &&
-      (!strcmp(scheme, "ipp") || !strcmp(scheme, "ipps")))
+      (!strcmp(scheme, "ipp") || !strcmp(scheme, "ipps")) &&
+      !TXTRecordGetValuePtr(txtLen, txtRecord, "printer-type", &valueLen))
   {
     reskey     = "rfo";
     resdefault = "/ipp/faxout";
index 3eabf2f309771456e2394b988fd55cdeb7fae36d..f372c00c89ea97fc0c6931f208bd6b59c5ef3f64 100644 (file)
@@ -3,7 +3,7 @@
  *
  *   Directory services routines for the CUPS scheduler.
  *
- *   Copyright 2007-2012 by Apple Inc.
+ *   Copyright 2007-2013 by Apple Inc.
  *   Copyright 1997-2007 by Easy Software Products, all rights reserved.
  *
  *   These coded instructions, statements, and computer programs are the
@@ -639,7 +639,9 @@ dnssdBuildTxtRecord(
     if (p->type & CUPS_PRINTER_FAX)
     {
       keyvalue[count  ][0] = "Fax";
-      keyvalue[count++][1] = (p->type & CUPS_PRINTER_FAX) ? "T" : "F";
+      keyvalue[count++][1] = "T";
+      keyvalue[count  ][0] = "rfo";
+      keyvalue[count++][1] = rp_str;
     }
 
     if (p->type & CUPS_PRINTER_COLOR)