Bump liberty

This commit is contained in:
Přemysl Eric Janouch 2015-12-11 02:55:02 +01:00
parent 649ea0baf7
commit 1c009f394a
3 changed files with 5 additions and 1123 deletions

1118
common.c

File diff suppressed because it is too large Load Diff

View File

@ -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);

@ -1 +1 @@
Subproject commit 5d3e911f015b33d0b4dcc3aa94f7af630438cbf8
Subproject commit 91fca5cb054fc95fe2e7ac090cac2c3a302565ca