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

Don't crash with /DCC SEND nick ""

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3142 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2003-11-16 16:49:51 +00:00 committed by cras
parent b7ed8cec6c
commit 91be647710

View File

@ -77,7 +77,7 @@ static void dcc_send_add(const char *servertag, CHAT_DCC_REC *chat,
char *fname;
int i, ret, files, flags, queue, start_new_transfer;
globbuf.gl_offs = 0;
memset(&globbuf, 0, sizeof(globbuf));
flags = GLOB_NOCHECK | GLOB_TILDE;
/* this loop parses all <file> parameters and adds them to glubbuf */