Re: [libvirt] [PATCH v2 glib] gobject-stream: fix issue found by coverity

2014-02-21 Thread Daniel P. Berrange
On Thu, Feb 20, 2014 at 04:58:21PM +0100, Pavel Hrdina wrote: The coverity server found issue in gvir_stream_close function that we ignore return values of g_input_stream_close and g_output_stream_close, but we also ignore the error message and we assume that it's closed without error. Now

Re: [libvirt] [PATCH v2 glib] gobject-stream: fix issue found by coverity

2014-02-21 Thread Pavel Hrdina
On 21.2.2014 12:24, Daniel P. Berrange wrote: On Thu, Feb 20, 2014 at 04:58:21PM +0100, Pavel Hrdina wrote: The coverity server found issue in gvir_stream_close function that we ignore return values of g_input_stream_close and g_output_stream_close, but we also ignore the error message and we