diff options
| author | jvoisin | 2017-12-28 11:27:06 +0100 |
|---|---|---|
| committer | jvoisin | 2017-12-28 11:27:06 +0100 |
| commit | 89432f57aa9769d2efd5b8934241d10b005afd1a (patch) | |
| tree | 017061381147cb34c47ee9325cc3ab26a30c24db /src/sp_disabled_functions.c | |
| parent | ad4c76191bded05c419524a6fe03a14157b767ff (diff) | |
Implement hooking on user-defined functions return values
This should close #99, thanks to @blotus for the implementation idea!
Diffstat (limited to 'src/sp_disabled_functions.c')
| -rw-r--r-- | src/sp_disabled_functions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp_disabled_functions.c b/src/sp_disabled_functions.c index 18545c0..9736d2b 100644 --- a/src/sp_disabled_functions.c +++ b/src/sp_disabled_functions.c | |||
| @@ -339,7 +339,7 @@ allow: | |||
| 339 | return false; | 339 | return false; |
| 340 | } | 340 | } |
| 341 | 341 | ||
| 342 | static bool should_drop_on_ret(zval* return_value, | 342 | bool should_drop_on_ret(zval* return_value, |
| 343 | const zend_execute_data* const execute_data) { | 343 | const zend_execute_data* const execute_data) { |
| 344 | const sp_list_node* config = | 344 | const sp_list_node* config = |
| 345 | SNUFFLEUPAGUS_G(config).config_disabled_functions_ret->disabled_functions; | 345 | SNUFFLEUPAGUS_G(config).config_disabled_functions_ret->disabled_functions; |
