mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-14 05:16:18 +01:00
goutputstream: Fix pre-condition
Spotted by Izak van Langevelde. Signed-off-by: Philip Withnall <withnall@endlessm.com> https://bugzilla.gnome.org/show_bug.cgi?id=791036
This commit is contained in:
parent
7f639fd5a0
commit
36f7440bb7
@ -384,7 +384,7 @@ g_output_stream_vprintf (GOutputStream *stream,
|
|||||||
gboolean success;
|
gboolean success;
|
||||||
|
|
||||||
g_return_val_if_fail (G_IS_OUTPUT_STREAM (stream), FALSE);
|
g_return_val_if_fail (G_IS_OUTPUT_STREAM (stream), FALSE);
|
||||||
g_return_val_if_fail (cancellable == NULL || G_IS_CANCELLABLE (stream), FALSE);
|
g_return_val_if_fail (cancellable == NULL || G_IS_CANCELLABLE (cancellable), FALSE);
|
||||||
g_return_val_if_fail (error == NULL || *error == NULL, FALSE);
|
g_return_val_if_fail (error == NULL || *error == NULL, FALSE);
|
||||||
g_return_val_if_fail (format != NULL, FALSE);
|
g_return_val_if_fail (format != NULL, FALSE);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user