summaryrefslogtreecommitdiff
path: root/src/sp_config_keywords.c
diff options
context:
space:
mode:
authorjvoisin2019-02-23 00:03:14 +0000
committerGitHub2019-02-23 00:03:14 +0000
commita48297dfc1144931e18073a87ed83ea337e3d37a (patch)
treedbd421aeed4541b8392bb9cf9b5ea575244e1b83 /src/sp_config_keywords.c
parent01dbd02341d4afa753830a1e642a59c8f7a0bbee (diff)
Add php8 to travis and fix php7.4
- Use clang-format on the code - Improve portability wrt. php8 - Fix php7.4 compatibility. See https://dustri.org/b/fixing-snuffleupagus-sloppy-comparison-on-array_keys-for-php74.html for a detailed writeup
Diffstat (limited to 'src/sp_config_keywords.c')
-rw-r--r--src/sp_config_keywords.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/sp_config_keywords.c b/src/sp_config_keywords.c
index 760961a..a9c71d4 100644
--- a/src/sp_config_keywords.c
+++ b/src/sp_config_keywords.c
@@ -41,8 +41,9 @@ int parse_session(char *line) {
41 return ret; 41 return ret;
42 } 42 }
43 43
44#if ( !HAVE_PHP_SESSION || defined(COMPILE_DL_SESSION) ) 44#if (!HAVE_PHP_SESSION || defined(COMPILE_DL_SESSION))
45 sp_log_err("config", 45 sp_log_err(
46 "config",
46 "You're trying to use the session cookie encryption feature " 47 "You're trying to use the session cookie encryption feature "
47 "on line %zu without having session support statically built into PHP. " 48 "on line %zu without having session support statically built into PHP. "
48 "This isn't supported, see " 49 "This isn't supported, see "