1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-03-20 07:59:00 +00:00
Daniel P. Berrange c19295e5ae 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/
2011-04-18 15:20:33 +01:00
..
2011-04-18 11:38:30 +02:00
2010-07-23 17:30:33 -04:00
2010-07-23 17:30:33 -04:00
2010-07-23 17:30:33 -04:00
2010-07-23 17:30:33 -04:00