Re: [libvirt] bug in libvirt.c?

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

 



On Thu, Jul 10, 2008 at 06:49:22PM +0400, Evgeniy Sokolov wrote:
>  for (i = 0; i < virNetworkDriverTabCount; i++) {
>                 if ((virDriverTab[i]->probe != NULL) &&
>                     ((latest = virDriverTab[i]->probe()) != NULL)) {
>                     probes++;
> 
>                  .....
>                 }
>  }
> 
> We use array virDriverTab, but cicle is to virNetworkDriverTabCount 
> which count number of virNetworkDriverTab drivers.
> I think virDriverTabCount should be used.

  Urgh, good catch !

  Applied and commited,

   thanks !

Daniel

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
veillard@xxxxxxxxxx  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]