mirror of
https://github.com/irssi/irssi.git
synced 2024-11-03 04:27:19 -05:00
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
This commit is contained in:
parent
23459ac90d
commit
f34b9bba3b
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user