From 050eefd845ed9a588a8c92ed10827b0669883145 Mon Sep 17 00:00:00 2001 From: xXx-caillou-xXx Date: Fri, 13 Jul 2018 15:59:19 +0200 Subject: Reduce call to get_complete_function_path --- src/sp_disabled_functions.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/sp_disabled_functions.h') diff --git a/src/sp_disabled_functions.h b/src/sp_disabled_functions.h index 83b1551..4e9f7ad 100644 --- a/src/sp_disabled_functions.h +++ b/src/sp_disabled_functions.h @@ -8,8 +8,10 @@ int hook_echo(const char*, size_t); bool should_disable(zend_execute_data *, const char *, const zend_string *, const char *, const sp_list_node *, const zend_string *); bool should_disable_ht(zend_execute_data *, const char *, const zend_string *, - const char *, const sp_list_node *, const HashTable *); -bool should_drop_on_ret_ht(zval *, const zend_execute_data *const, const sp_list_node* config, const HashTable *); + const char *, const sp_list_node *, const HashTable *); +bool should_drop_on_ret_ht(zval *, const char *, const sp_list_node* config, + const HashTable *); bool should_drop_on_ret(zval *, const sp_list_node* config, const char *); +char* get_complete_function_path(zend_execute_data const* const); #endif /* __SP_DISABLE_FUNCTIONS_H */ -- cgit v1.3