Build: fix build if HAVE_AVAHI is not defined

Fix the build if HAVE_AVAHI is not defined.
This commit is contained in:
Stefan Berger 2011-07-26 11:42:00 -04:00
parent 93fb3acc8d
commit f63930a7cc

View File

@ -781,7 +781,9 @@ void virNetServerFree(virNetServerPtr srv)
VIR_FREE(srv->clients); VIR_FREE(srv->clients);
VIR_FREE(srv->mdnsGroupName); VIR_FREE(srv->mdnsGroupName);
#if HAVE_AVAHI
virNetServerMDNSFree(srv->mdns); virNetServerMDNSFree(srv->mdns);
#endif
#if HAVE_DBUS #if HAVE_DBUS
if (srv->sysbus) if (srv->sysbus)