summaryrefslogtreecommitdiff
path: root/src/core/network-openssl.c
diff options
context:
space:
mode:
authorEmanuele Giaquinta <exg@irssi.org>2008-03-30 14:05:39 +0000
committerexg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564>2008-03-30 14:05:39 +0000
commitf34b9bba3b5c04c1831b34ba30e0ad9832b53215 (patch)
tree9863eef7639d29150aded95d535d521c6561f094 /src/core/network-openssl.c
parent23459ac90d22c7afb73aa07ad62f585889f859de (diff)
downloadirssi-f34b9bba3b5c04c1831b34ba30e0ad9832b53215.zip
Make irssi_ssl_{seek,close} call giochan->funcs->io_{seek,close}
rather than g_io_channel_{seek,close}. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4791 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core/network-openssl.c')
-rw-r--r--src/core/network-openssl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/network-openssl.c b/src/core/network-openssl.c
index 33e7bfb6..6d1e940f 100644
--- a/src/core/network-openssl.c
+++ b/src/core/network-openssl.c
@@ -156,15 +156,15 @@ static GIOStatus irssi_ssl_write(GIOChannel *handle, const gchar *buf, gsize len
static GIOStatus irssi_ssl_seek(GIOChannel *handle, gint64 offset, GSeekType type, GError **gerr)
{
GIOSSLChannel *chan = (GIOSSLChannel *)handle;
- return g_io_channel_seek_position(chan->giochan, offset, type, NULL);
+
+ return chan->giochan->funcs->io_seek(handle, offset, type, gerr);
}
static GIOStatus irssi_ssl_close(GIOChannel *handle, GError **gerr)
{
GIOSSLChannel *chan = (GIOSSLChannel *)handle;
- g_io_channel_close(chan->giochan);
- return G_IO_STATUS_NORMAL;
+ return chan->giochan->funcs->io_close(handle, gerr);
}
static GSource *irssi_ssl_create_watch(GIOChannel *handle, GIOCondition cond)