GNOME Bugzilla – Bug 791036
Guard for g_output_stream_vprintf makes no sense
Last modified: 2017-12-01 10:03:26 UTC
Function g_output_stream_vprintf has guard g_return_val_if_fail (cancellable == NULL || G_IS_CANCELLABLE (stream), FALSE); I believe what is meant is g_return_val_if_fail (cancellable == NULL || G_IS_CANCELLABLE (cancellable), FALSE);
Well, spotted, thanks. Fixed on master and glib-2-54. The following fix has been pushed: 36f7440 goutputstream: Fix pre-condition
Created attachment 364724 [details] [review] goutputstream: Fix pre-condition Spotted by Izak van Langevelde. Signed-off-by: Philip Withnall <withnall@endlessm.com>