mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-05-16 18:51:58 +02: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
ebe3fc2af8
commit
c124fcf112
@ -384,7 +384,7 @@ g_output_stream_vprintf (GOutputStream *stream,
|
||||
gboolean success;
|
||||
|
||||
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 (format != NULL, FALSE);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user