diff options
author | marha <marha@users.sourceforge.net> | 2014-10-02 11:50:34 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2014-10-02 11:50:57 +0200 |
commit | 2e7986ae025903b95bff8f58088ed428409cccad (patch) | |
tree | 5210934a66b8fe2d57b26330ed9dfa2e7ab23448 /xorg-server/hw | |
parent | 59e93bef4b56a36f96a68376e2d8ceaadb892f96 (diff) | |
download | vcxsrv-2e7986ae025903b95bff8f58088ed428409cccad.tar.gz vcxsrv-2e7986ae025903b95bff8f58088ed428409cccad.tar.bz2 vcxsrv-2e7986ae025903b95bff8f58088ed428409cccad.zip |
Solved errors trying to listen on local
Diffstat (limited to 'xorg-server/hw')
-rw-r--r-- | xorg-server/hw/xwin/windisplay.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/xorg-server/hw/xwin/windisplay.c b/xorg-server/hw/xwin/windisplay.c index d92369850..fd6d4cd10 100644 --- a/xorg-server/hw/xwin/windisplay.c +++ b/xorg-server/hw/xwin/windisplay.c @@ -45,10 +45,13 @@ void winGetDisplayName(char *szDisplay, unsigned int screen) { +#ifdef LOCALCONN if (_XSERVTransIsListening("local")) { snprintf(szDisplay, 512, ":%s.%d", display, screen); } - else if (_XSERVTransIsListening("inet")) { + else +#endif + if (_XSERVTransIsListening("inet")) { snprintf(szDisplay, 512, "127.0.0.1:%s.%d", display, screen); } else if (_XSERVTransIsListening("inet6")) { |