From 63b98dba790fa9835e970b8502d93258862a9373 Mon Sep 17 00:00:00 2001 From: runge Date: Wed, 5 Nov 2008 01:18:29 +0000 Subject: x11vnc: add zeroconf external helpers (avahi-publish and dns-sd). Alias -zeroconf. Close pipeinput_fh on exit. Kludge to make -solid work on MacOSX console. Attempt at cpp macros to disable newer libvncserver interfaces. --- x11vnc/x11vnc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'x11vnc/x11vnc.c') diff --git a/x11vnc/x11vnc.c b/x11vnc/x11vnc.c index 6a43d48..8e980ae 100644 --- a/x11vnc/x11vnc.c +++ b/x11vnc/x11vnc.c @@ -2176,7 +2176,7 @@ int main(int argc, char* argv[]) { http_ssl = 1; continue; } - if (!strcmp(arg, "-avahi") || !strcmp(arg, "-mdns")) { + if (!strcmp(arg, "-avahi") || !strcmp(arg, "-mdns") || !strcmp(arg, "-zeroconf")) { avahi = 1; continue; } -- cgit v1.2.1