mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-23 18:37:50 +02:00
mainloop test: fix a small typo
This g_assert() could never possibly fail, as it was.
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user