diff options
author | runge <runge> | 2007-01-31 15:41:42 +0000 |
---|---|---|
committer | runge <runge> | 2007-01-31 15:41:42 +0000 |
commit | 1b9082bc8739e5ab186092ca1dcff1736eb91c0e (patch) | |
tree | 9d2a267bcbba93aed87634838c9ac10f36363210 /x11vnc/util.c | |
parent | 1f8da9bde3b7de272228872410143f076662ae13 (diff) | |
download | libtdevnc-1b9082bc8739e5ab186092ca1dcff1736eb91c0e.tar.gz libtdevnc-1b9082bc8739e5ab186092ca1dcff1736eb91c0e.zip |
x11vnc: -reflect, -N. -ncache, FINDDISPLAY, FINDCREATEDISPLAY, improvements. MODTWEAK_LOWEST workaround.
Diffstat (limited to 'x11vnc/util.c')
-rw-r--r-- | x11vnc/util.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/x11vnc/util.c b/x11vnc/util.c index 5ba621c..632b617 100644 --- a/x11vnc/util.c +++ b/x11vnc/util.c @@ -287,6 +287,8 @@ char *this_host(void) { if (gethostname(host, MAXN) == 0) { host[MAXN-1] = '\0'; return strdup(host); + } else if (UT.nodename) { + return strdup(UT.nodename); } #endif return NULL; |