Functions returning "unit" correspond to C fns which use -1 for failure
authorDavid Scott <scott.dj@gmail.com>
Wed, 6 Mar 2013 16:18:05 +0000 (16:18 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Wed, 6 Mar 2013 16:52:21 +0000 (16:52 +0000)
commit2360cd228542c6a523f10daacbd631a753d17208
tree8f016b6d3897f8f91e00b39badfbd6974d5d596b
parent9d178cbfeb709d2d2fbddb9fcab88e9204c8f995
Functions returning "unit" correspond to C fns which use -1 for failure

This affects the following functions:
  virStoragePoolBuild
  virStoragePoolDelete
  virStorageVolDelete

Previously a call to virStorageVolDelete would succeed returning 0, which
was interpreted as false, causing us to raise an exception with
VIR_ERR_NONE.

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
libvirt/generator.pl
libvirt/libvirt_c.c