summaryrefslogtreecommitdiffstats
path: root/x11vnc/x11vnc.c
diff options
context:
space:
mode:
authorrunge <runge>2008-11-05 01:18:29 +0000
committerrunge <runge>2008-11-05 01:18:29 +0000
commit63b98dba790fa9835e970b8502d93258862a9373 (patch)
tree52b5ba99d6f9fe4b8a818eee16955e5e4e5b50de /x11vnc/x11vnc.c
parentcb67ada73b007d5f237a281576f753ec6c15844b (diff)
downloadlibtdevnc-63b98dba790fa9835e970b8502d93258862a9373.tar.gz
libtdevnc-63b98dba790fa9835e970b8502d93258862a9373.zip
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.
Diffstat (limited to 'x11vnc/x11vnc.c')
-rw-r--r--x11vnc/x11vnc.c2
1 files changed, 1 insertions, 1 deletions
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;
}