diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2015-11-15 15:56:10 +0100 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2015-11-15 15:56:10 +0100 |
commit | 9b22d72fd1adea33bbe77887bdde558c9132acd2 (patch) | |
tree | 3b572961a45dca2c8fff94ff02e168fd105b85dd /degesch.c | |
parent | f11635ed7fadaf10f761d9ccaadd30c40d7dfc14 (diff) | |
download | xK-9b22d72fd1adea33bbe77887bdde558c9132acd2.tar.gz xK-9b22d72fd1adea33bbe77887bdde558c9132acd2.tar.xz xK-9b22d72fd1adea33bbe77887bdde558c9132acd2.zip |
Extend split_str() for multiple split chars
Diffstat (limited to 'degesch.c')
-rw-r--r-- | degesch.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -3965,7 +3965,7 @@ on_irc_autojoin_timeout (void *user_data) { struct str_vector v; str_vector_init (&v); - split_str (autojoin, ',', &v); + split_str (autojoin, ",", &v); for (size_t i = 0; i < v.len; i++) { irc_send (s, "JOIN :%s", v.vector[i]); @@ -7311,7 +7311,7 @@ handle_command_set_add bool result = false; struct str_vector items; str_vector_init (&items); - split_str (item->value.string.str, ',', &items); + split_str (item->value.string.str, ",", &items); if (items.len == 1 && !*items.vector[0]) str_vector_reset (&items); @@ -7334,7 +7334,7 @@ handle_command_set_remove bool result = false; struct str_vector items; str_vector_init (&items); - split_str (item->value.string.str, ',', &items); + split_str (item->value.string.str, ",", &items); if (items.len == 1 && !*items.vector[0]) str_vector_reset (&items); |