mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-05 00:46:16 +01:00
mainloop test: fix a small typo
This g_assert() could never possibly fail, as it was.
This commit is contained in:
parent
83e5d169d6
commit
42c2c4f67d
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user