From 96020e699926d292d27dc6fd986e8bb688cbe31e Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Thu, 25 May 2000 12:52:38 +0000 Subject: With some systems Irssi didn't notice if connect() failed. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@232 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/irc/dcc/dcc-files.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/irc/dcc/dcc-files.c') diff --git a/src/irc/dcc/dcc-files.c b/src/irc/dcc/dcc-files.c index 5acd35c9..61989ce1 100644 --- a/src/irc/dcc/dcc-files.c +++ b/src/irc/dcc/dcc-files.c @@ -178,7 +178,7 @@ static void cmd_dcc_get(gchar *data) source_host_ok ? source_host_ip : NULL); if (dcc->handle != -1) { - dcc->tagread = g_input_add(dcc->handle, G_INPUT_WRITE, + dcc->tagread = g_input_add(dcc->handle, G_INPUT_WRITE|G_INPUT_READ|G_INPUT_EXCEPTION, (GInputFunction) dcc_get_connect, dcc); } else @@ -227,7 +227,7 @@ static void dcc_resume_setup(DCC_REC *dcc, gint port) source_host_ok ? source_host_ip : NULL); if (dcc->handle != -1) { - dcc->tagread = g_input_add(dcc->handle, G_INPUT_WRITE, + dcc->tagread = g_input_add(dcc->handle, G_INPUT_WRITE|G_INPUT_READ|G_INPUT_EXCEPTION, (GInputFunction) dcc_get_connect, dcc); } else -- cgit v1.2.3