diff options
author | runge <runge> | 2007-02-12 23:44:39 +0000 |
---|---|---|
committer | runge <runge> | 2007-02-12 23:44:39 +0000 |
commit | 241f3ed566d34bf5b6c67ebebcc00727134d93b2 (patch) | |
tree | e42ddc70dc6a50503a2e22aef238c7a1fde7fb43 /x11vnc/cleanup.c | |
parent | 0016cd4280ee9a0d088454a508a9c7f6bde33f62 (diff) | |
download | libtdevnc-241f3ed566d34bf5b6c67ebebcc00727134d93b2.tar.gz libtdevnc-241f3ed566d34bf5b6c67ebebcc00727134d93b2.zip |
x11vnc: add avahi (aka mDNS/Zeroconf/Bonjour...) support thanks to Diego Petteno. add -find -create
Diffstat (limited to 'x11vnc/cleanup.c')
-rw-r--r-- | x11vnc/cleanup.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/x11vnc/cleanup.c b/x11vnc/cleanup.c index a81a798..3643c39 100644 --- a/x11vnc/cleanup.c +++ b/x11vnc/cleanup.c @@ -14,6 +14,7 @@ #include "connections.h" #include "macosx.h" #include "macosxCG.h" +#include "avahi.h" /* * Exiting and error handling routines @@ -129,6 +130,10 @@ void clean_up_exit (int ret) { ssl_helper_pid(0, 0); /* killall */ } + if (avahi) { + avahi_cleanup(); + } + #ifdef MACOSX if (client_connect_file) { if (strstr(client_connect_file, "/tmp/x11vnc-macosx-channel.") |