diff options
Diffstat (limited to 'src/core/servers.c')
-rw-r--r-- | src/core/servers.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/servers.c b/src/core/servers.c index 1cdee751..9ec53902 100644 --- a/src/core/servers.c +++ b/src/core/servers.c @@ -200,8 +200,7 @@ static void server_connect_callback_readpipe(SERVER_REC *server) server->handle = net_sendbuffer_create(handle, 0); server->connect_tag = - g_input_add(handle, - (GInputCondition) (G_INPUT_WRITE|G_INPUT_READ), + g_input_add(handle, G_INPUT_WRITE | G_INPUT_READ, (GInputFunction) server_connect_callback_init, server); signal_emit("server connecting", 2, server, &iprec.ip); |