aboutsummaryrefslogtreecommitdiff
path: root/degesch.c
diff options
context:
space:
mode:
Diffstat (limited to 'degesch.c')
-rw-r--r--degesch.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/degesch.c b/degesch.c
index f2a23c9..1e93dc3 100644
--- a/degesch.c
+++ b/degesch.c
@@ -4133,7 +4133,7 @@ on_irc_autojoin_timeout (void *user_data)
{
struct str_vector v;
str_vector_init (&v);
- split_str (autojoin, ",", &v);
+ cstr_split (autojoin, ",", &v);
for (size_t i = 0; i < v.len; i++)
{
irc_send (s, "JOIN :%s", v.vector[i]);
@@ -8308,7 +8308,7 @@ handle_command_set_add
bool result = false;
struct str_vector items;
str_vector_init (&items);
- split_str (item->value.string.str, ",", &items);
+ cstr_split (item->value.string.str, ",", &items);
if (items.len == 1 && !*items.vector[0])
str_vector_reset (&items);
@@ -8331,7 +8331,7 @@ handle_command_set_remove
bool result = false;
struct str_vector items;
str_vector_init (&items);
- split_str (item->value.string.str, ",", &items);
+ cstr_split (item->value.string.str, ",", &items);
if (items.len == 1 && !*items.vector[0])
str_vector_reset (&items);
@@ -9679,7 +9679,7 @@ process_input (struct app_context *ctx, char *user_input)
str_vector_init (&lines);
// XXX: this interprets commands in pasted text
- split_str (input, "\r\n", &lines);
+ cstr_split (input, "\r\n", &lines);
for (size_t i = 0; i < lines.len; i++)
(void) process_input_utf8 (ctx,
ctx->current_buffer, lines.vector[i], 0);