[fix] cstring_array_split calls

This commit is contained in:
Al
2016-05-25 17:58:30 -04:00
parent a42d0e917a
commit 3939dd0ca6

View File

@@ -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);
}