diff options
author | Emanuele Giaquinta <exg@irssi.org> | 2008-03-30 13:30:52 +0000 |
---|---|---|
committer | exg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2008-03-30 13:30:52 +0000 |
commit | 26a1d639e73e6a247a365cb910c245c89fd6a194 (patch) | |
tree | 0ffd0658f2f760a065f1b7bb8f774c662301f42f /src/fe-common/core/fe-core-commands.c | |
parent | 1ffed412c662f2fb3cdb0bc56a5f55bd127aceb2 (diff) | |
download | irssi-26a1d639e73e6a247a365cb910c245c89fd6a194.zip |
Use g_io_channel_unref rather than g_io_channel_close for file
channels.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4789 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-common/core/fe-core-commands.c')
-rw-r--r-- | src/fe-common/core/fe-core-commands.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-common/core/fe-core-commands.c b/src/fe-common/core/fe-core-commands.c index afad131d..765e70c6 100644 --- a/src/fe-common/core/fe-core-commands.c +++ b/src/fe-common/core/fe-core-commands.c @@ -146,7 +146,7 @@ static void cmd_cat(const char *data) } g_string_free(buf, TRUE); - g_io_channel_close(handle); + g_io_channel_unref(handle); } /* SYNTAX: BEEP */ |