summaryrefslogtreecommitdiff
path: root/src/sp_config_utils.c
diff options
context:
space:
mode:
authorBen Foster2017-10-25 22:25:30 +0100
committerBen Foster2017-10-26 21:14:00 +0100
commit59b3db273e6e628afb188681e178ea53d571b03d (patch)
treece000e1cf87ea9c206bc81e2b958173e28f7c464 /src/sp_config_utils.c
parenteab3fb2fd6e6e827327a4971b3371fb67a7d8600 (diff)
Renames `sp_new_list` -> `sp_list_new`
To be consistent with the rest of the `sp_list` functions.
Diffstat (limited to '')
-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 62fb7c1..2e97ba8 100644
--- a/src/sp_config_utils.c
+++ b/src/sp_config_utils.c
@@ -179,7 +179,7 @@ zend_always_inline sp_node_t *parse_functions_list(char *value) {
179 return NULL; 179 return NULL;
180 } 180 }
181 181
182 sp_node_t *list = sp_new_list(); 182 sp_node_t *list = sp_list_new();
183 char* tmp = strdup(value); 183 char* tmp = strdup(value);
184 char* function_name; 184 char* function_name;
185 char *next_token = tmp; 185 char *next_token = tmp;
@@ -189,4 +189,4 @@ zend_always_inline sp_node_t *parse_functions_list(char *value) {
189 free(tmp); 189 free(tmp);
190 190
191 return list; 191 return list;
192} \ No newline at end of file 192}