1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-03 00:03:12 +02:00

Fixed crash when purging DCC with high number of DCC (> window size)

This commit is contained in:
Sebastien Helleu
2006-07-30 20:41:49 +00:00
parent aff43aa355
commit b11f2b2c4b
4 changed files with 8 additions and 2 deletions
+2
View File
@@ -706,7 +706,9 @@ gui_exec_action_dcc (t_gui_window *window, char *actions)
/* purge old DCC */
case 'p':
case 'P':
window->dcc_first = NULL;
window->dcc_selected = NULL;
window->dcc_last_displayed = NULL;
ptr_dcc = dcc_list;
while (ptr_dcc)
{