summaryrefslogtreecommitdiff
path: root/src/fe-common
diff options
context:
space:
mode:
authorDavid Hill <dhill@conformal.com>2014-06-15 15:23:29 -0400
committerDavid Hill <dhill@conformal.com>2014-06-15 15:23:29 -0400
commit138d4f455512f7da22fd0cf53338888bdf640801 (patch)
tree8b8b36747581fe65f052863d8df00cfa4267f412 /src/fe-common
parent57f138c087b649b5bbbbcb75d455ef86f93297f4 (diff)
downloadirssi-138d4f455512f7da22fd0cf53338888bdf640801.zip
Replace deprecated g_io_channel_close with g_io_channel_shutdown.
g_io_channel_close flushes the buffer and does not return errors. g_io_channel_shutdown(handle, TRUE, NULL) keeps that behavior.
Diffstat (limited to 'src/fe-common')
-rw-r--r--src/fe-common/core/fe-exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-common/core/fe-exec.c b/src/fe-common/core/fe-exec.c
index 5347e8d4..9249f432 100644
--- a/src/fe-common/core/fe-exec.c
+++ b/src/fe-common/core/fe-exec.c
@@ -185,7 +185,7 @@ static void process_destroy(PROCESS_REC *rec, int status)
exec_wi_destroy(rec->target_item);
line_split_free(rec->databuf);
- g_io_channel_close(rec->in);
+ g_io_channel_shutdown(rec->in, TRUE, NULL);
g_io_channel_unref(rec->in);
net_sendbuffer_destroy(rec->out, TRUE);