summaryrefslogtreecommitdiff
path: root/cups
diff options
context:
space:
mode:
authorreddevillg <reddevillg@gmail.com>2019-11-07 20:05:02 +0800
committerGitHub <noreply@github.com>2019-11-07 20:05:02 +0800
commit5129a91c541b5636aab2685a4bb7accd1eca166f (patch)
treedf50e7beb96d3bd35704b21f9ded8b4f81d55323 /cups
parent025b8ce8f637009f0df7a5bb5fa0a460dbb32b10 (diff)
downloadcups-5129a91c541b5636aab2685a4bb7accd1eca166f.tar.gz
Update adminutil.c
fix /admin/log section
Diffstat (limited to 'cups')
-rw-r--r--cups/adminutil.c2
1 files changed, 1 insertions, 1 deletions
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") ||