[libgsystem] GSConsole: Fix infinite loop



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]