diff options
author | Stefan Berger <stefanb@us.ibm.com> | 2011-07-26 11:42:00 -0400 |
---|---|---|
committer | Stefan Berger <stefanb@us.ibm.com> | 2011-07-26 11:42:00 -0400 |
commit | f63930a7cc157662bcbbdbd41ac270201886452b (patch) | |
tree | 7c263f55b3d233d2168f38a64ce0449bd9590084 /src/rpc/virnetserver.c | |
parent | Fix incorrect implication about list options (diff) | |
download | libvirt-f63930a7cc157662bcbbdbd41ac270201886452b.tar.gz libvirt-f63930a7cc157662bcbbdbd41ac270201886452b.tar.bz2 libvirt-f63930a7cc157662bcbbdbd41ac270201886452b.zip |
Build: fix build if HAVE_AVAHI is not defined
Fix the build if HAVE_AVAHI is not defined.
Diffstat (limited to 'src/rpc/virnetserver.c')
-rw-r--r-- | src/rpc/virnetserver.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rpc/virnetserver.c b/src/rpc/virnetserver.c index c93c3f8a3..2dae2ffa9 100644 --- a/src/rpc/virnetserver.c +++ b/src/rpc/virnetserver.c @@ -781,7 +781,9 @@ void virNetServerFree(virNetServerPtr srv) VIR_FREE(srv->clients); VIR_FREE(srv->mdnsGroupName); +#if HAVE_AVAHI virNetServerMDNSFree(srv->mdns); +#endif #if HAVE_DBUS if (srv->sysbus) |