mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
irssi didn't notice if DCC send connection died.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2777 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
ed1eb46eb4
commit
583417d66e
@ -84,9 +84,6 @@ static void dcc_send_read_size(SEND_DCC_REC *dcc)
|
|||||||
guint32 bytes;
|
guint32 bytes;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
if (dcc->count_pos == 4)
|
|
||||||
return;
|
|
||||||
|
|
||||||
/* we need to get 4 bytes.. */
|
/* we need to get 4 bytes.. */
|
||||||
ret = net_receive(dcc->handle, dcc->count_buf+dcc->count_pos,
|
ret = net_receive(dcc->handle, dcc->count_buf+dcc->count_pos,
|
||||||
4-dcc->count_pos);
|
4-dcc->count_pos);
|
||||||
|
Loading…
Reference in New Issue
Block a user