From 09bc3ffc8734cf2437e14ab123c7b732db53b836 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Thu, 2 Oct 2025 12:16:29 +0200 Subject: Rename a handful of global constants --- src/sp_ini.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sp_ini.c') diff --git a/src/sp_ini.c b/src/sp_ini.c index cfbc615..2529760 100644 --- a/src/sp_ini.c +++ b/src/sp_ini.c @@ -1,7 +1,7 @@ #include "php_snuffleupagus.h" #define SP_INI_HAS_CHECKS_COND(entry) (entry->min || entry->max || entry->regexp) -#define SP_INI_ACCESS_READONLY_COND(entry, cfg) (entry->access == SP_READONLY || (!entry->access && cfg->policy_readonly)) +#define SP_INI_ACCESS_READONLY_COND(entry, cfg) (entry->access == SP_INI_READONLY || (!entry->access && cfg->policy_readonly)) #define sp_log_auto2(feature, is_simulation, drop, ...) \ sp_log_msgf(feature, ((is_simulation || !drop) ? SP_LOG_WARN : SP_LOG_ERROR), \ -- cgit v1.3