mirror of
https://github.com/irssi/irssi.git
synced 2026-08-16 23:22:16 +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
|
|
@ -423,7 +423,7 @@ static void ctcp_msg_dcc_send(IRC_SERVER_REC *server, const char *data,
|
|||
/* SEND <file name> <address> <port> <size> [...] */
|
||||
/* SEND <file name> <address> 0 <size> <id> (DCC SEND passive protocol) */
|
||||
params = g_strsplit(data, " ", -1);
|
||||
paramcount = strarray_length(params);
|
||||
paramcount = g_strv_length(params);
|
||||
|
||||
if (paramcount < 4) {
|
||||
signal_emit("dcc error ctcp", 5, "SEND", data,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue