mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 21:00:40 +02:00
Removed /SET dcc_block_size and /SET dcc_fast_send - fast send is now
always used and dcc_block_size is useless with it. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1250 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
c1c7674ae2
commit
19dff227d8
7 changed files with 16 additions and 52 deletions
|
|
@ -92,8 +92,7 @@ static void sig_dcc_destroyed(CHAT_DCC_REC *dcc)
|
|||
dcc_remove_chat_refs(dcc);
|
||||
|
||||
if (dcc->sendbuf != NULL) net_sendbuffer_destroy(dcc->sendbuf, FALSE);
|
||||
line_split_free((LINEBUF_REC *) dcc->databuf);
|
||||
dcc->databuf = NULL;
|
||||
line_split_free(dcc->readbuf);
|
||||
g_free(dcc->id);
|
||||
}
|
||||
|
||||
|
|
@ -293,7 +292,7 @@ static void dcc_chat_input(CHAT_DCC_REC *dcc)
|
|||
do {
|
||||
recvlen = net_receive(dcc->handle, tmpbuf, sizeof(tmpbuf));
|
||||
|
||||
ret = line_split(tmpbuf, recvlen, &str, (LINEBUF_REC **) &dcc->databuf);
|
||||
ret = line_split(tmpbuf, recvlen, &str, &dcc->readbuf);
|
||||
if (ret == -1) {
|
||||
/* connection lost */
|
||||
dcc->connection_lost = TRUE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue