summaryrefslogtreecommitdiffstats
path: root/x11vnc/avahi.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11vnc/avahi.c')
-rw-r--r--x11vnc/avahi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/x11vnc/avahi.c b/x11vnc/avahi.c
index 830fabd..5b9882b 100644
--- a/x11vnc/avahi.c
+++ b/x11vnc/avahi.c
@@ -113,6 +113,7 @@ void avahi_initialise(void) {
void avahi_advertise(const char *name, const char *host, const uint16_t port) {
if (!try_avahi_helper(name, host, port)) {
rfbLog("avahi_advertise: no Avahi support at buildtime.\n");
+ avahi = 0;
}
}
OpenPOWER on IntegriCloud