]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
cupsGetDestMediaCount did not work for CUPS_MEDIA_FLAGS DEFAULT (STR #4414)
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Tue, 13 May 2014 14:57:34 +0000 (14:57 +0000)
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Tue, 13 May 2014 14:57:34 +0000 (14:57 +0000)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11874 a1ca3aef-8c08-0410-bb20-df032aa958be

CHANGES-1.7.txt
cups/dest-options.c

index 293bed025796e3f946a3980b8fbbfbbd038a6afe..39cd5d8e6e643a34d448d1dd68debca9c0a6d391 100644 (file)
@@ -21,6 +21,8 @@ CHANGES IN CUPS V1.7.3
          dependency (STR #4399)
        - CUPS did not compile when Avahi or mDNSResponder was not present
          (STR #4402)
+       - cupsGetDestMediaCount did not work for CUPS_MEDIA_FLAGS DEFAULT
+         (STR #4414)
 
 
 CHANGES IN CUPS V1.7.2
index 93e1757a44568be06ef384958e9e70ca94784692..9f041a16dc471c17f690be1982ddaf0af1cdea1f 100644 (file)
@@ -1282,6 +1282,8 @@ cups_create_cached(http_t       *http,    /* I - Connection to destination */
                mdb->top >= first->top && mdb->bottom >= first->bottom)
         first = mdb;
     }
+    else
+      cupsArrayAdd(dinfo->cached_db, mdb);
   }
 
   if (flags & CUPS_MEDIA_FLAGS_DUPLEX)