aboutsummaryrefslogtreecommitdiffstats
path: root/src/conf.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/conf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conf.c b/src/conf.c
index bea4e2c08..54cb560b4 100644
--- a/src/conf.c
+++ b/src/conf.c
@@ -203,7 +203,7 @@ static ConfigParam *readConfigBlock(FILE * fp, int *count, char *string)
(*count)++;
- numberOfArgs = cstrtok(string, array, CONF_LINE_TOKEN_MAX);
+ numberOfArgs = buffer2array(string, array, CONF_LINE_TOKEN_MAX);
for (i = 0; i < numberOfArgs; i++) {
if (array[i][0] == CONF_COMMENT)
@@ -265,7 +265,7 @@ void readConf(char *file)
char *array[CONF_LINE_TOKEN_MAX] = { NULL };
count++;
- numberOfArgs = cstrtok(string, array, CONF_LINE_TOKEN_MAX);
+ numberOfArgs = buffer2array(string, array, CONF_LINE_TOKEN_MAX);
for (i = 0; i < numberOfArgs; i++) {
if (array[i][0] == CONF_COMMENT)