From af93172be680bb75ebdf23ff6533c53f587da18c Mon Sep 17 00:00:00 2001 From: jvoisin Date: Tue, 3 May 2022 21:22:22 +0200 Subject: Small code formatting fix --- src/snuffleupagus.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/snuffleupagus.c') diff --git a/src/snuffleupagus.c b/src/snuffleupagus.c index ebb7f9c..06b93e1 100644 --- a/src/snuffleupagus.c +++ b/src/snuffleupagus.c @@ -426,7 +426,7 @@ static void dump_config() { array_init(&arr_cookies); sp_cookie *cookie; - sp_list_node *p = SPCFG(cookie).cookies; + const sp_list_node *p = SPCFG(cookie).cookies; for (; p; p = p->next) { zval arr_cookie; array_init(&arr_cookie); @@ -610,7 +610,9 @@ static PHP_INI_MH(OnUpdateConfiguration) { (PHP_VERSION_ID < 70400 && ts >= (time_t)1638745200L) || (PHP_VERSION_ID < 80000 && ts >= (time_t)1669590000L) || (PHP_VERSION_ID < 80100 && ts >= (time_t)1700953200L)) { - sp_log_warn("End-of-Life Check", "Your PHP version '" PHP_VERSION "' is not officially mainained anymore. Please upgrade as soon as possible. - Note: This message can be switched off by setting 'sp.global.show_old_php_warning.disable();' in your rules file or by setting the environment variable SP_SKIP_OLD_PHP_CHECK=1."); + sp_log_warn("End-of-Life Check", "Your PHP version '" PHP_VERSION "' is not officially maintained anymore. " \ + "Please upgrade as soon as possible. - Note: This message can be switched off by setting " \ + "'sp.global.show_old_php_warning.disable();' in your rules file or by setting the environment variable SP_SKIP_OLD_PHP_CHECK=1."); } } return SUCCESS; -- cgit v1.3