From: reddevillg Date: Thu, 7 Nov 2019 12:05:02 +0000 (+0800) Subject: Update adminutil.c X-Git-Tag: v2.3.1~33^2 X-Git-Url: http://git.ipfire.org/?p=thirdparty%2Fcups.git;a=commitdiff_plain;h=5129a91c541b5636aab2685a4bb7accd1eca166f Update adminutil.c fix /admin/log section --- diff --git a/cups/adminutil.c b/cups/adminutil.c index 7ff5bf2bc..f82f454a6 100644 --- a/cups/adminutil.c +++ b/cups/adminutil.c @@ -989,7 +989,7 @@ cupsAdminSetServerSettings( in_cancel_job = 0; } - else if ((((in_admin_location || in_conf_location || in_root_location) && + else if ((((in_admin_location || in_conf_location || in_root_location || in_log_location) && (remote_admin >= 0 || remote_any >= 0)) || (in_root_location && share_printers >= 0)) && (!_cups_strcasecmp(line, "Allow") || !_cups_strcasecmp(line, "Deny") ||