summaryrefslogtreecommitdiff
path: root/degesch.c
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2015-11-15 15:56:10 +0100
committerPřemysl Janouch <p.janouch@gmail.com>2015-11-15 15:56:10 +0100
commit9b22d72fd1adea33bbe77887bdde558c9132acd2 (patch)
tree3b572961a45dca2c8fff94ff02e168fd105b85dd /degesch.c
parentf11635ed7fadaf10f761d9ccaadd30c40d7dfc14 (diff)
downloadxK-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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/degesch.c b/degesch.c
index a42682a..ea7eaf6 100644
--- a/degesch.c
+++ b/degesch.c
@@ -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);