diff options
author | TingPing <tngpng@gmail.com> | 2013-03-16 22:57:34 -0300 |
---|---|---|
committer | TingPing <tngpng@gmail.com> | 2013-03-16 22:57:34 -0300 |
commit | e8a78b9aa1398deb69d20d599be2a630f721cafa (patch) | |
tree | 5409023fb3a7e04485eaa7ca24e79a117f31943e | |
parent | 69e1ed42783ba9ef3c7f9acfc090ad53fb120476 (diff) |
Handle EOF in text-fe
-rw-r--r-- | src/fe-text/fe-text.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-text/fe-text.c b/src/fe-text/fe-text.c index 451e9074..f603f43e 100644 --- a/src/fe-text/fe-text.c +++ b/src/fe-text/fe-text.c @@ -62,7 +62,7 @@ handle_line (GIOChannel *channel, GIOCondition cond, gpointer data) GIOStatus result; result = g_io_channel_read_line(channel, &str_return, &length, &terminator_pos, &error); - if (result == G_IO_STATUS_ERROR) { + if (result == G_IO_STATUS_ERROR || result == G_IO_STATUS_EOF) { return FALSE; } else { |