From 945bef529028f571a7140b0446331cbd739028b1 Mon Sep 17 00:00:00 2001 From: msweet Date: Tue, 30 Jun 2015 16:13:38 +0000 Subject: [PATCH] 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 --- CHANGES-2.0.txt | 1 + cgi-bin/ipp-var.c | 3 +++ 2 files changed, 4 insertions(+) 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 */ -- 2.47.2