diff options
author | LemonBoy <thatlemon@gmail.com> | 2016-02-13 14:16:05 +0100 |
---|---|---|
committer | LemonBoy <thatlemon@gmail.com> | 2016-06-05 16:24:55 +0200 |
commit | 7a3c6fe86ca55b4ef69b11443b87359b333bc20b (patch) | |
tree | 874a7932dec12dcf6e39d98e83f71656513778a2 /src/irc/dcc/dcc-chat.c | |
parent | 72712a0c62b0403f0fa472ccbe34fda8fb2cd530 (diff) | |
download | irssi-7a3c6fe86ca55b4ef69b11443b87359b333bc20b.zip |
Replace strarray_length with g_strv_length
Diffstat (limited to 'src/irc/dcc/dcc-chat.c')
-rw-r--r-- | src/irc/dcc/dcc-chat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/dcc/dcc-chat.c b/src/irc/dcc/dcc-chat.c index e3dbe72d..ca90b8d8 100644 --- a/src/irc/dcc/dcc-chat.c +++ b/src/irc/dcc/dcc-chat.c @@ -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); |