1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-07 02:03:13 +02:00

tests: add unit tests on IRC functions irc_message_parse and irc_message_parse_to_hashtable

This commit is contained in:
Sébastien Helleu
2019-08-03 13:57:50 +02:00
parent d79e0cbd31
commit c46255b1d0
2 changed files with 372 additions and 3 deletions
+1 -1
View File
@@ -336,7 +336,7 @@ struct t_hashtable *
irc_message_parse_to_hashtable (struct t_irc_server *server,
const char *message)
{
char *tags,*message_without_tags, *nick, *host, *command, *channel;
char *tags, *message_without_tags, *nick, *host, *command, *channel;
char *arguments, *text, str_pos[32];
char empty_str[1] = { '\0' };
int pos_command, pos_arguments, pos_channel, pos_text;