diff options
| author | jvoisin | 2018-02-05 18:13:57 +0100 |
|---|---|---|
| committer | jvoisin | 2018-02-05 18:13:57 +0100 |
| commit | 9d153cc185b4e2327a4aabe645cf1fabd3b4f21b (patch) | |
| tree | bfaf6ff5fa41098864d6b51ad1fa91304d8c32a6 /src/sp_cookie_encryption.c | |
| parent | 3ab41db5bb38ec534e96f89680e55becd758aa28 (diff) | |
Massive simplification of functions hooking
Diffstat (limited to 'src/sp_cookie_encryption.c')
| -rw-r--r-- | src/sp_cookie_encryption.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/sp_cookie_encryption.c b/src/sp_cookie_encryption.c index 09cf884..4ecb97d 100644 --- a/src/sp_cookie_encryption.c +++ b/src/sp_cookie_encryption.c | |||
| @@ -273,8 +273,7 @@ PHP_FUNCTION(sp_setcookie) { | |||
| 273 | } | 273 | } |
| 274 | 274 | ||
| 275 | int hook_cookies() { | 275 | int hook_cookies() { |
| 276 | HOOK_FUNCTION("setcookie", sp_internal_functions_hook, PHP_FN(sp_setcookie), | 276 | HOOK_FUNCTION("setcookie", sp_internal_functions_hook, PHP_FN(sp_setcookie)); |
| 277 | false); | ||
| 278 | 277 | ||
| 279 | return SUCCESS; | 278 | return SUCCESS; |
| 280 | } | 279 | } |
