1 From 61aaa345d3924905aa26023b351fb9502a74de63 Mon Sep 17 00:00:00 2001
2 From: Christian Marangi <ansuelsmth@gmail.com>
3 Date: Sun, 5 Nov 2023 20:50:31 +0100
4 Subject: [PATCH 2/2] Fix compilation error with new version of irssi
6 Fix compilation error with new version of irssi that changed some
9 Caused by https://github.com/irssi/irssi/pull/1246
11 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
13 core/quassel-net.c | 10 +++++-----
14 1 file changed, 5 insertions(+), 5 deletions(-)
16 --- a/core/quassel-net.c
17 +++ b/core/quassel-net.c
18 @@ -105,8 +105,8 @@ static void sig_connected(Quassel_SERVER
22 - g_input_add(net_sendbuffer_handle(r->handle),
24 + i_input_add(net_sendbuffer_handle(r->handle),
26 (GInputFunction) quassel_parse_incoming, r);
28 quassel_init_packet(net_sendbuffer_handle(r->handle), r->ssl);
29 @@ -166,8 +166,8 @@ static void quassel_net_final_setup(SERV
30 server->handle->handle = handle;
37 (GInputFunction) quassel_parse_incoming, server);
40 @@ -185,7 +185,7 @@ static void quassel_net_ssl_callback(SER
42 if (server->connect_tag != -1)
43 g_source_remove(server->connect_tag);
44 - server->connect_tag = g_input_add(handle, error == 1 ? G_INPUT_READ : G_INPUT_WRITE,
45 + server->connect_tag = i_input_add(handle, error == 1 ? I_INPUT_READ : I_INPUT_WRITE,
47 quassel_net_ssl_callback,