diff options
| author | jvoisin | 2025-10-02 12:16:29 +0200 |
|---|---|---|
| committer | jvoisin | 2025-10-02 12:16:29 +0200 |
| commit | 09bc3ffc8734cf2437e14ab123c7b732db53b836 (patch) | |
| tree | a7ab04ed2ad5d1848068af8d6e4849ed35153ca4 /src/sp_ini.c | |
| parent | 9509733befcb4010bc77b06fcf41e77078976e80 (diff) | |
Rename a handful of global constants
Diffstat (limited to 'src/sp_ini.c')
| -rw-r--r-- | src/sp_ini.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ | |||
| 1 | #include "php_snuffleupagus.h" | 1 | #include "php_snuffleupagus.h" |
| 2 | 2 | ||
| 3 | #define SP_INI_HAS_CHECKS_COND(entry) (entry->min || entry->max || entry->regexp) | 3 | #define SP_INI_HAS_CHECKS_COND(entry) (entry->min || entry->max || entry->regexp) |
| 4 | #define SP_INI_ACCESS_READONLY_COND(entry, cfg) (entry->access == SP_READONLY || (!entry->access && cfg->policy_readonly)) | 4 | #define SP_INI_ACCESS_READONLY_COND(entry, cfg) (entry->access == SP_INI_READONLY || (!entry->access && cfg->policy_readonly)) |
| 5 | 5 | ||
| 6 | #define sp_log_auto2(feature, is_simulation, drop, ...) \ | 6 | #define sp_log_auto2(feature, is_simulation, drop, ...) \ |
| 7 | sp_log_msgf(feature, ((is_simulation || !drop) ? SP_LOG_WARN : SP_LOG_ERROR), \ | 7 | sp_log_msgf(feature, ((is_simulation || !drop) ? SP_LOG_WARN : SP_LOG_ERROR), \ |
