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

Re: [libvirt] [PATCH] don't dump core on NULL ifname



On Tue, Jul 29, 2008 at 01:22:32PM -0400, Guido Günther wrote:
> Hi,
> actually I thought I sent this out already, but it seems I didn't:
> 
> Don't dump core on NULL ifname when getting interface statistic.
> Not all networking types have a target ifname set
> (user,client,server,mcast).

  Hum, STREQ uses strcmp, I'm surprized it chokes on NULL, maybe the
wrapper macro could take care of that, especially in the library code.

  Thanks for the patch, applied and commited !

Daniel

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


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