summaryrefslogtreecommitdiff
path: root/src/sp_cookie_encryption.c
diff options
context:
space:
mode:
authorjvoisin2018-02-05 17:27:45 +0100
committerGitHub2018-02-05 17:27:45 +0100
commit4cbca117a3f2ef2d6695504970378ec4c483d19f (patch)
tree2fe9d10ddf5fdff1c1c0f4cf0cf7cbb16d274e27 /src/sp_cookie_encryption.c
parentf0a956e825a83ff3a58d4714a92fbb945f6c8841 (diff)
Compatibility layer for pcre2
This should close #129
Diffstat (limited to 'src/sp_cookie_encryption.c')
-rw-r--r--src/sp_cookie_encryption.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp_cookie_encryption.c b/src/sp_cookie_encryption.c
index 29e96b1..09cf884 100644
--- a/src/sp_cookie_encryption.c
+++ b/src/sp_cookie_encryption.c
@@ -167,7 +167,7 @@ static zend_string *encrypt_data(char *data, unsigned long long data_len) {
167} 167}
168 168
169PHP_FUNCTION(sp_setcookie) { 169PHP_FUNCTION(sp_setcookie) {
170 zval params[7] = {0}; 170 zval params[7] = {{{0}}};
171 zend_string *name = NULL, *value = NULL, *path = NULL, *domain = NULL, 171 zend_string *name = NULL, *value = NULL, *path = NULL, *domain = NULL,
172 *samesite = NULL; 172 *samesite = NULL;
173 zend_long expires = 0; 173 zend_long expires = 0;