From: liuli Date: Sat, 18 Sep 2021 00:19:40 +0000 (+0800) Subject: Update options.c X-Git-Tag: v2.4b1~41^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F239%2Fhead;p=thirdparty%2Fcups.git Update options.c --- diff --git a/cups/options.c b/cups/options.c index 587bca8cce..e45858c2c9 100644 --- a/cups/options.c +++ b/cups/options.c @@ -607,8 +607,7 @@ _cupsGet1284Values( ptr --; *ptr = '\0'; - if (ptr > value) - num_values = cupsAddOption(key, value, num_values, values); + num_values = cupsAddOption(key, value, num_values, values); if (!*device_id) break;