From 3939dd0ca67cdc3b9006dfcc114a7296688648fe Mon Sep 17 00:00:00 2001 From: Al Date: Wed, 25 May 2016 17:58:30 -0400 Subject: [PATCH] [fix] cstring_array_split calls --- src/string_utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/string_utils.c b/src/string_utils.c index fa7b9474..52f94893 100644 --- a/src/string_utils.c +++ b/src/string_utils.c @@ -858,12 +858,12 @@ static cstring_array *cstring_array_split_options(char *str, const char *separat cstring_array *cstring_array_split(char *str, const char *separator, size_t separator_len, size_t *count) { - return cstring_array_split_options(str, separator, separator_len, true, count); + return cstring_array_split_options(str, separator, separator_len, false, count); } cstring_array *cstring_array_split_ignore_consecutive(char *str, const char *separator, size_t separator_len, size_t *count) { - return cstring_array_split_options(str, separator, separator_len, false, count); + return cstring_array_split_options(str, separator, separator_len, true, count); }