summaryrefslogtreecommitdiff
path: root/src/sp_disabled_functions.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp_disabled_functions.c')
-rw-r--r--src/sp_disabled_functions.c4
1 files changed, 2 insertions, 2 deletions
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,
40 sp_list_node* functions_list) { 40 sp_list_node* functions_list) {
41 zend_execute_data *orig_execute_data, *current; 41 zend_execute_data *orig_execute_data, *current;
42 orig_execute_data = current = execute_data; 42 orig_execute_data = current = execute_data;
43 sp_list_node const * it = functions_list; 43 sp_list_node const* it = functions_list;
44 44
45 while (current) { 45 while (current) {
46 if (it == NULL) { // every function in the list matched, we've got a match! 46 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,
60 if (0 == match) { 60 if (0 == match) {
61 it = it->next; 61 it = it->next;
62 } 62 }
63 current = current->prev_execute_data; 63 current = current->prev_execute_data;
64 } 64 }
65 65
66 EG(current_execute_data) = orig_execute_data; 66 EG(current_execute_data) = orig_execute_data;