summaryrefslogtreecommitdiff
path: root/src/sp_config_utils.c
diff options
context:
space:
mode:
authorjvoisin2017-12-21 14:03:18 +0100
committerjvoisin2017-12-21 14:03:18 +0100
commit0d98f51e7dbde4a40c0039910d43ad378eaefa83 (patch)
tree78749747bc46c80f85bc2c3cdfb629b331d200f1 /src/sp_config_utils.c
parentf91cf7390c060986e51b77990f4e472165b97dad (diff)
Rename sp_node_t to sp_list_node
Since we now have sp_list and sp_tree, it makes sense to specify that nodes are only for lists.
Diffstat (limited to 'src/sp_config_utils.c')
-rw-r--r--src/sp_config_utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sp_config_utils.c b/src/sp_config_utils.c
index ddd2e05..3c1d89d 100644
--- a/src/sp_config_utils.c
+++ b/src/sp_config_utils.c
@@ -133,14 +133,14 @@ char *get_param(size_t *consumed, char *restrict line, sp_type type,
133 return NULL; 133 return NULL;
134} 134}
135 135
136zend_always_inline sp_node_t *parse_functions_list(char *value) { 136zend_always_inline sp_list_node *parse_functions_list(char *value) {
137 const char *sep = ">"; 137 const char *sep = ">";
138 138
139 if (NULL == strchr(value, sep[0])) { 139 if (NULL == strchr(value, sep[0])) {
140 return NULL; 140 return NULL;
141 } 141 }
142 142
143 sp_node_t *list = sp_list_new(); 143 sp_list_node *list = sp_list_new();
144 char* tmp = strdup(value); 144 char* tmp = strdup(value);
145 char* function_name; 145 char* function_name;
146 char *next_token = tmp; 146 char *next_token = tmp;