From f50b700ed34098179cd2a59dbade563c00af157d Mon Sep 17 00:00:00 2001 From: Emanuele Giaquinta Date: Sun, 30 Mar 2008 14:13:52 +0000 Subject: Set is_readable/is_writeable/use_buffer flags. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4792 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/core/network-openssl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/network-openssl.c b/src/core/network-openssl.c index 6d1e940f..f1c43075 100644 --- a/src/core/network-openssl.c +++ b/src/core/network-openssl.c @@ -301,6 +301,8 @@ static GIOChannel *irssi_ssl_get_iochannel(GIOChannel *handle, const char *mycer gchan = (GIOChannel *)chan; gchan->funcs = &irssi_ssl_channel_funcs; g_io_channel_init(gchan); + gchan->is_readable = gchan->is_writeable = TRUE; + gchan->use_buffer = FALSE; return gchan; } -- cgit v1.2.3