summaryrefslogtreecommitdiff
path: root/src/irc/dcc/dcc-files.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-11-23 23:29:32 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-11-23 23:29:32 +0000
commitd1d70fd5d78af01040983831cbe9aa79f1d56425 (patch)
treeda9c11fb31eafff80a27b5d8c2e108e271c1538d /src/irc/dcc/dcc-files.c
parent8961d23171ff5d8e9eb15c1f935c9447d24ad2dc (diff)
downloadirssi-d1d70fd5d78af01040983831cbe9aa79f1d56425.zip
s/enum GInputCondition/int/ - enums aren't supposed to orred together i
think.. at least MIPSpro gave warnings about it and it also feels wrong :) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@865 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/irc/dcc/dcc-files.c')
-rw-r--r--src/irc/dcc/dcc-files.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/dcc/dcc-files.c b/src/irc/dcc/dcc-files.c
index 166734d5..b5e1a490 100644
--- a/src/irc/dcc/dcc-files.c
+++ b/src/irc/dcc/dcc-files.c
@@ -199,7 +199,7 @@ static void dcc_get_connect(DCC_REC *dcc)
source_host_ok ? source_host_ip : NULL);
if (dcc->handle != -1) {
dcc->tagconn = g_input_add(dcc->handle,
- (GInputCondition) (G_INPUT_WRITE|G_INPUT_READ),
+ G_INPUT_WRITE | G_INPUT_READ,
(GInputFunction) sig_dccget_connected, dcc);
} else {
/* error connecting */