diff options
author | Emanuele Giaquinta <exg@irssi.org> | 2008-03-30 14:05:39 +0000 |
---|---|---|
committer | exg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2008-03-30 14:05:39 +0000 |
commit | f34b9bba3b5c04c1831b34ba30e0ad9832b53215 (patch) | |
tree | 9863eef7639d29150aded95d535d521c6561f094 /src/core | |
parent | 23459ac90d22c7afb73aa07ad62f585889f859de (diff) | |
download | irssi-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')
-rw-r--r-- | src/core/network-openssl.c | 6 |
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) |