diff options
| author | xXx-caillou-xXx | 2018-08-30 17:14:08 +0200 |
|---|---|---|
| committer | jvoisin | 2018-08-30 15:14:08 +0000 |
| commit | 206ffa3fb3fd72c6a2eb45194fb176535a91288c (patch) | |
| tree | 23a25d83c4ca878861f413a0d5df2ad77c7dadaf /src/sp_cookie_encryption.c | |
| parent | b3f67a16094168cc334f5da93a86f09476e01601 (diff) | |
Minor code cleanup
Diffstat (limited to 'src/sp_cookie_encryption.c')
| -rw-r--r-- | src/sp_cookie_encryption.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sp_cookie_encryption.c b/src/sp_cookie_encryption.c index 1b59e44..31dde95 100644 --- a/src/sp_cookie_encryption.c +++ b/src/sp_cookie_encryption.c | |||
| @@ -45,9 +45,9 @@ static zend_string *encrypt_data(zend_string *data) { | |||
| 45 | PHP_FUNCTION(sp_setcookie) { | 45 | PHP_FUNCTION(sp_setcookie) { |
| 46 | zend_string *name = NULL, *value = NULL, *path = NULL, *domain = NULL, *value_enc = NULL, | 46 | zend_string *name = NULL, *value = NULL, *path = NULL, *domain = NULL, *value_enc = NULL, |
| 47 | #if PHP_VERSION_ID < 70300 | 47 | #if PHP_VERSION_ID < 70300 |
| 48 | *path_samesite = NULL; | 48 | *path_samesite = NULL; |
| 49 | #else | 49 | #else |
| 50 | *samesite = NULL; | 50 | *samesite = NULL; |
| 51 | #endif | 51 | #endif |
| 52 | 52 | ||
| 53 | zend_long expires = 0; | 53 | zend_long expires = 0; |
