Merge cstr_split() and cstr_split_ignore_empty()

This commit is contained in:
2016-10-09 09:45:27 +02:00
parent a34ce0b6b8
commit 0b77bdeaf9
2 changed files with 8 additions and 21 deletions

View File

@@ -66,7 +66,7 @@ irc_parse_message_tags (const char *tags, struct str_map *out)
{
struct str_vector v;
str_vector_init (&v);
cstr_split_ignore_empty (tags, ';', &v);
cstr_split (tags, ";", true, &v);
for (size_t i = 0; i < v.len; i++)
{