From 837fbdb88a513500520f057d27bdfedd0d3995ca Mon Sep 17 00:00:00 2001 From: jvoisin Date: Fri, 1 Jan 2021 16:31:33 +0100 Subject: Constify a function --- src/sp_disabled_functions.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/sp_disabled_functions.c') diff --git a/src/sp_disabled_functions.c b/src/sp_disabled_functions.c index c5ea437..41c9f23 100644 --- a/src/sp_disabled_functions.c +++ b/src/sp_disabled_functions.c @@ -40,7 +40,7 @@ static bool is_functions_list_matching(zend_execute_data* execute_data, sp_list_node* functions_list) { zend_execute_data *orig_execute_data, *current; orig_execute_data = current = execute_data; - sp_list_node const * it = functions_list; + sp_list_node const* it = functions_list; while (current) { if (it == NULL) { // every function in the list matched, we've got a match! @@ -60,7 +60,7 @@ static bool is_functions_list_matching(zend_execute_data* execute_data, if (0 == match) { it = it->next; } - current = current->prev_execute_data; + current = current->prev_execute_data; } EG(current_execute_data) = orig_execute_data; -- cgit v1.3