mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 20:33:46 +02:00
several fixes to make irssi compile without warnings with MIPSpro
also fixed ctcp_queue_clean() - it might have crashed sometimes.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@859 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
8fb2249f07
commit
8ce36c05ea
30 changed files with 80 additions and 72 deletions
|
|
@ -251,7 +251,8 @@ static void dcc_chat_connect(DCC_REC *dcc)
|
|||
dcc->handle = net_connect_ip(&dcc->addr, dcc->port,
|
||||
source_host_ok ? source_host_ip : NULL);
|
||||
if (dcc->handle != -1) {
|
||||
dcc->tagconn = g_input_add(dcc->handle, G_INPUT_WRITE|G_INPUT_READ,
|
||||
dcc->tagconn = g_input_add(dcc->handle,
|
||||
(GInputCondition) (G_INPUT_WRITE|G_INPUT_READ),
|
||||
(GInputFunction) sig_chat_connected, dcc);
|
||||
} else {
|
||||
/* error connecting */
|
||||
|
|
|
|||
|
|
@ -198,7 +198,8 @@ static void dcc_get_connect(DCC_REC *dcc)
|
|||
dcc->handle = net_connect_ip(&dcc->addr, dcc->port,
|
||||
source_host_ok ? source_host_ip : NULL);
|
||||
if (dcc->handle != -1) {
|
||||
dcc->tagconn = g_input_add(dcc->handle, G_INPUT_WRITE|G_INPUT_READ,
|
||||
dcc->tagconn = g_input_add(dcc->handle,
|
||||
(GInputCondition) (G_INPUT_WRITE|G_INPUT_READ),
|
||||
(GInputFunction) sig_dccget_connected, dcc);
|
||||
} else {
|
||||
/* error connecting */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue