mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-24 14:45:24 +00:00
Build: fix build if HAVE_AVAHI is not defined
Fix the build if HAVE_AVAHI is not defined.
This commit is contained in:
parent
93fb3acc8d
commit
f63930a7cc
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user