GMemoryOutputStream: Don't return -1 as a gboolean in precondition
authorColin Walters <walters@verbum.org>
Tue, 8 Oct 2013 16:17:16 +0000 (12:17 -0400)
committerColin Walters <walters@verbum.org>
Tue, 8 Oct 2013 16:19:11 +0000 (12:19 -0400)
commite2d5282636bcbf4c8ac64a599bb020d33cd59897
tree6cc2899f8f7960be18d1e8719adda81c5519550a
parent30772e74bf42cf7be67041df21316d305027f0fc
GMemoryOutputStream: Don't return -1 as a gboolean in precondition

Since it could confuse callers (admittedly who are already violating
a precondition).

Just spotted while adapting some bits of this code for a ssh library.
gio/gmemoryoutputstream.c