From: msweet Date: Tue, 13 May 2014 14:57:34 +0000 (+0000) Subject: cupsGetDestMediaCount did not work for CUPS_MEDIA_FLAGS DEFAULT (STR #4414) X-Git-Tag: v2.2b1~635 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=5b69e934acffad1d33a8ec376c84c618cb81b6d9;p=thirdparty%2Fcups.git cupsGetDestMediaCount did not work for CUPS_MEDIA_FLAGS DEFAULT (STR #4414) git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11874 a1ca3aef-8c08-0410-bb20-df032aa958be --- diff --git a/CHANGES-1.7.txt b/CHANGES-1.7.txt index 293bed0257..39cd5d8e6e 100644 --- a/CHANGES-1.7.txt +++ b/CHANGES-1.7.txt @@ -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 diff --git a/cups/dest-options.c b/cups/dest-options.c index 93e1757a44..9f041a16dc 100644 --- a/cups/dest-options.c +++ b/cups/dest-options.c @@ -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)