From 59b3db273e6e628afb188681e178ea53d571b03d Mon Sep 17 00:00:00 2001 From: Ben Foster Date: Wed, 25 Oct 2017 22:25:30 +0100 Subject: Renames `sp_new_list` -> `sp_list_new` To be consistent with the rest of the `sp_list` functions. --- src/sp_config_keywords.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/sp_config_keywords.c') diff --git a/src/sp_config_keywords.c b/src/sp_config_keywords.c index 3101ee1..569542c 100644 --- a/src/sp_config_keywords.c +++ b/src/sp_config_keywords.c @@ -259,7 +259,7 @@ int parse_disabled_functions(char *line) { } if (df->param && strchr(df->param, '[')) { // assume that this is an array - df->param_array_keys = sp_new_list(); + df->param_array_keys = sp_list_new(); if (0 != array_to_list(&df->param, &df->param_array_keys)) { pefree(df->param_array_keys, 1); return -1; @@ -268,7 +268,7 @@ int parse_disabled_functions(char *line) { } if (df->var && strchr(df->var, '[')) { // assume that this is an array - df->var_array_keys = sp_new_list(); + df->var_array_keys = sp_list_new(); if (0 != array_to_list(&df->var, &df->var_array_keys)) { pefree(df->var_array_keys, 1); return -1; -- cgit v1.3