mirror of
https://github.com/irssi/irssi.git
synced 2026-08-17 07:32:04 +02:00
Replace strarray_length with g_strv_length
This commit is contained in:
parent
72712a0c62
commit
7a3c6fe86c
9 changed files with 7 additions and 23 deletions
|
|
@ -619,7 +619,7 @@ static void ctcp_msg_dcc_chat(IRC_SERVER_REC *server, const char *data,
|
|||
/* CHAT <unused> <address> <port> */
|
||||
/* CHAT <unused> <address> 0 <id> (DCC CHAT passive protocol) */
|
||||
params = g_strsplit(data, " ", -1);
|
||||
paramcount = strarray_length(params);
|
||||
paramcount = g_strv_length(params);
|
||||
|
||||
if (paramcount < 3) {
|
||||
g_strfreev(params);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue