summaryrefslogtreecommitdiff
path: root/src/irc/dcc
diff options
context:
space:
mode:
Diffstat (limited to 'src/irc/dcc')
-rw-r--r--src/irc/dcc/dcc-send.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/dcc/dcc-send.c b/src/irc/dcc/dcc-send.c
index 46e1dd4e..93a85fa1 100644
--- a/src/irc/dcc/dcc-send.c
+++ b/src/irc/dcc/dcc-send.c
@@ -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 */