]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Update adminutil.c 5677/head
authorreddevillg <reddevillg@gmail.com>
Thu, 7 Nov 2019 12:05:02 +0000 (20:05 +0800)
committerGitHub <noreply@github.com>
Thu, 7 Nov 2019 12:05:02 +0000 (20:05 +0800)
fix /admin/log section

cups/adminutil.c

index 7ff5bf2bc379a2a75c1fe1b37eefc655e4ab2d68..f82f454a6b9af51c3a4add71c5889d9d02225cc1 100644 (file)
@@ -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") ||