mainloop test: fix a small typo

This g_assert() could never possibly fail, as it was.
This commit is contained in:
Ryan Lortie 2013-01-15 15:22:35 -05:00
parent 83e5d169d6
commit 42c2c4f67d

View File

@ -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);