[libgsystem] GSConsole: Fix infinite loop
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgsystem] GSConsole: Fix infinite loop
- Date: Thu, 24 Jan 2013 20:38:00 +0000 (UTC)
commit 3ca90a9a5644573be3a84c689a437598fb4406cd
Author: Colin Walters <walters verbum org>
Date: Thu Jan 24 15:37:44 2013 -0500
GSConsole: Fix infinite loop
gsystem-console.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gsystem-console.c b/gsystem-console.c
index 589fe41..72d5d9b 100644
--- a/gsystem-console.c
+++ b/gsystem-console.c
@@ -389,6 +389,7 @@ gs_console_begin_status_line (GSConsole *console,
if (!g_output_stream_write_all (out, &c, 1, &bytes_written,
cancellable, error))
goto out;
+ towrite--;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]