[libvirt] [PATCH 2/4] interface: report correct interface count when not returning list

Daniel P. Berrange berrange at redhat.com
Fri Sep 25 16:24:37 UTC 2015


On Fri, Sep 25, 2015 at 11:13:54AM -0400, Laine Stump wrote:
> The spec for virConnectListAllInterfaces says that if the pointer that
> is supposed to hold the list of interfaces is NULL, the function
> should just return the count of interfaces that matched the filter,
> but the code never increments the count if the list pointer is NULL.
> ---
>  src/interface/interface_backend_netcf.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

ACK

Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvir-list mailing list