From: msweet Date: Tue, 30 Jun 2015 16:13:38 +0000 (+0000) Subject: The web search incorrectly searched time-at-xxx values (STR #4652) X-Git-Tag: v2.2b1~242 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=945bef529028f571a7140b0446331cbd739028b1;p=thirdparty%2Fcups.git The web search incorrectly searched time-at-xxx values (STR #4652) git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12768 a1ca3aef-8c08-0410-bb20-df032aa958be --- diff --git a/CHANGES-2.0.txt b/CHANGES-2.0.txt index 771fd6b8f3..a3bd32c810 100644 --- a/CHANGES-2.0.txt +++ b/CHANGES-2.0.txt @@ -7,6 +7,7 @@ CHANGES IN CUPS V2.0.4 - Fixed redirection in the web interface (STR #4538) - The IPP backend did not respond to side-channel requests (STR #4645) - The scheduler did not start all pending jobs at once (STR #4646) + - The web search incorrectly searched time-at-xxx values (STR #4652) - Documentation changes (STR #4651) diff --git a/cgi-bin/ipp-var.c b/cgi-bin/ipp-var.c index 2aabe53229..4b43e9cc08 100644 --- a/cgi-bin/ipp-var.c +++ b/cgi-bin/ipp-var.c @@ -222,6 +222,9 @@ cgiGetIPPObjects(ipp_t *response, /* I - IPP response */ break; case IPP_TAG_INTEGER : + if (!strncmp(ippGetName(attr), "time-at-", 8)) + break; /* Ignore time-at-xxx */ + for (i = 0; !add && i < attr->num_values; i ++) { char buf[255]; /* Number buffer */