diff options
author | Alexander Færøy <ahf@irssi.org> | 2010-04-03 20:04:15 +0000 |
---|---|---|
committer | ahf <ahf@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2010-04-03 20:04:15 +0000 |
commit | df1d7a78147805119f045036fc87c23e2c5c8094 (patch) | |
tree | 5e8570821f4bc103b006e9c634a1984a7f8967b8 /src/core/session.c | |
parent | dd23f39f090f22d404dd15e40d411f9f8d65a38f (diff) | |
download | irssi-df1d7a78147805119f045036fc87c23e2c5c8094.zip |
glib iochannel fixes from exg.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5137 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core/session.c')
-rw-r--r-- | src/core/session.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/session.c b/src/core/session.c index 96a809ff..b3002632 100644 --- a/src/core/session.c +++ b/src/core/session.c @@ -22,6 +22,7 @@ #include "signals.h" #include "commands.h" #include "args.h" +#include "network.h" #include "net-sendbuffer.h" #include "pidwait.h" #include "lib-config/iconfig.h" @@ -259,7 +260,7 @@ static void session_restore_server(CONFIG_NODE *node) chatnet, password, nick); if (conn != NULL) { conn->reconnection = TRUE; - conn->connect_handle = g_io_channel_unix_new(handle); + conn->connect_handle = g_io_channel_new(handle); server = proto->server_init_connect(conn); server->version = g_strdup(config_node_get_str(node, "version", NULL)); |