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:
parent
b7ed8cec6c
commit
91be647710
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user