1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

Fix dcc resume crash (only in the rc's and svn) (Bug 287)

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3895 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Wouter Coekaerts 2005-08-01 16:07:22 +00:00 committed by coekie
parent 240a7df160
commit 6d42a00287

View File

@ -89,6 +89,9 @@ static int dcc_ctcp_resume_parse(int type, const char *data, const char *nick,
params = g_strsplit(data, " ", -1);
paramcount = strarray_length(params);
if (paramcount < 3)
return 0;
fileparams = get_file_params_count_resume(params, paramcount);
if (paramcount >= fileparams + 2) {