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:
Timo Sirainen 2000-11-23 21:40:07 +00:00 committed by cras
commit 8ce36c05ea
30 changed files with 80 additions and 72 deletions

View file

@ -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 */

View file

@ -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 */