aboutsummaryrefslogtreecommitdiff
path: root/degesch.c
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2015-12-11 02:55:02 +0100
committerPřemysl Janouch <p.janouch@gmail.com>2015-12-11 03:01:25 +0100
commit1c009f394a65930e066a85357c0f0347ef8cc413 (patch)
tree48563932785b657120a0e99c48b64cfa4995703f /degesch.c
parent649ea0baf7df99c47450ac23060688ea3fddf0cf (diff)
downloadxK-1c009f394a65930e066a85357c0f0347ef8cc413.tar.gz
xK-1c009f394a65930e066a85357c0f0347ef8cc413.tar.xz
xK-1c009f394a65930e066a85357c0f0347ef8cc413.zip
Bump liberty
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);