From: Michael R Sweet Date: Mon, 26 Apr 2021 20:21:15 +0000 (-0400) Subject: Fix @IF(name) handling (Apple #5918) X-Git-Tag: v2.4b1~135 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5db47e3fcd8b02aca45bb023f51307484b980523;p=thirdparty%2Fcups.git Fix @IF(name) handling (Apple #5918) --- diff --git a/CHANGES.md b/CHANGES.md index 63f6b66861..c3d66edfee 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -37,6 +37,7 @@ CUPS v2.4rc1 (Pending) - Reverted USB read limit enforcement change from CUPS 2.2.12 (Issue #72) - Now use a 60 second timeout for reading USB backchannel data (Issue #160) - The USB backend now tries harder to find a serial number (Issue #170) +- Fixed `@IF(name)` handling in `cupsd.conf` (Apple #5918) - Documentation fixes (Issue #92, Issue #163) - Localization updates (Issue #123, Issue #129, Issue #134, Issue #146, Issue #164) diff --git a/scheduler/auth.c b/scheduler/auth.c index 1ecab1c0d1..2f15cc81e6 100644 --- a/scheduler/auth.c +++ b/scheduler/auth.c @@ -212,7 +212,6 @@ cupsdAddNameMask(cups_array_t **masks, /* IO - Masks array (created as needed) * if (ifptr >= ifname && *ifptr == ')') { - ifptr --; *ifptr = '\0'; }