mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 12:53:42 +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
|
|
@ -245,7 +245,7 @@ static void dcc_server_msg(SERVER_DCC_REC *dcc, const char *msg)
|
|||
|
||||
/* 120 clientnickname filesize filename */
|
||||
params = g_strsplit(msg, " ", -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