projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83e5d16
)
mainloop test: fix a small typo
author
Ryan Lortie
<desrt@desrt.ca>
Tue, 15 Jan 2013 20:22:35 +0000
(15:22 -0500)
committer
Ryan Lortie
<desrt@desrt.ca>
Tue, 15 Jan 2013 20:22:35 +0000
(15:22 -0500)
This g_assert() could never possibly fail, as it was.
glib/tests/mainloop.c
patch
|
blob
|
history
diff --git
a/glib/tests/mainloop.c
b/glib/tests/mainloop.c
index
66871a3
..
e66216d
100644
(file)
--- 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);