[glib] mainloop test: fix a small typo
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] mainloop test: fix a small typo
- Date: Tue, 15 Jan 2013 20:46:26 +0000 (UTC)
commit 42c2c4f67da404330960ca307393ad71e68c167d
Author: Ryan Lortie <desrt desrt ca>
Date: Tue Jan 15 15:22:35 2013 -0500
mainloop test: fix a small typo
This g_assert() could never possibly fail, as it was.
glib/tests/mainloop.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glib/tests/mainloop.c b/glib/tests/mainloop.c
index 66871a3..e66216d 100644
--- a/glib/tests/mainloop.c
+++ b/glib/tests/mainloop.c
@@ -912,7 +912,7 @@ write_bytes (gint fd,
return FALSE;
/* Detect if we run before we should */
- g_assert (to_write >= 0);
+ g_assert (*to_write >= 0);
limit = MIN (*to_write, sizeof zeros);
*to_write -= write (fd, zeros, limit);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]