[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH 05/14] Sanitize virDiscoverHostPMFeature to return a boolean



On 11/29/2011 08:44 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange redhat com>
> 
> Since virDiscoverHostPMFeature is just checking one feature,
> there is no reason for it to return a bitmask. Change it to
> return a boolean
> 
> * src/util/util.c, src/util/util.h: Make virDiscoverHostPMFeature
>   return a boolean
> ---
>  src/util/util.c |   24 +++++++++++++++---------
>  src/util/util.h |    2 +-
>  2 files changed, 16 insertions(+), 10 deletions(-)

ACK.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]