[libvirt] [perl] Fix check of return value from virStreamRecv*

Daniel P. Berrange berrange at redhat.com
Mon Dec 18 09:24:21 UTC 2017


On Fri, Dec 15, 2017 at 03:24:03PM -0700, Jim Fehlig wrote:
> Commit 049baec5 introduced a small bug in the logic checking
> return value of virStreamRecv*. Change the logic to only croak
> when return value is < 0 and not equal to -2 or -3.
> ---
>  Changes | 2 +-
>  Virt.xs | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Daniel P. Berrange <berrange at redhat.com>


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|




More information about the libvir-list mailing list