mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 06:05:27 +00:00
Fix checking of return codes in dispatcher
The libvirt APIs reserve any negative value for indicating an error. Thus checks if (virXXXX() == -1) Should instead be if (virXXXX() < 0) * daemon/remote.c: s/ == -1/ < 0/
This commit is contained in:
parent
158ba8730e
commit
c19295e5ae
339
daemon/remote.c
339
daemon/remote.c
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user