1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-03-07 17:28:15 +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:
Daniel P. Berrange 2011-04-13 18:13:37 +01:00
parent 158ba8730e
commit c19295e5ae

File diff suppressed because it is too large Load Diff