diff options
author | marha <marha@users.sourceforge.net> | 2011-03-09 14:34:24 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2011-03-09 14:34:24 +0000 |
commit | c10c00e21e70361cbf93e7f104dc7474a1c91a14 (patch) | |
tree | dad5b8a56213cce80aa3c87b8c04353817a61f2c /xorg-server/hw/xwin/windisplay.c | |
parent | 0856e1e6040a1a9ed52cd3a06f49dc66fd1a3092 (diff) | |
download | vcxsrv-c10c00e21e70361cbf93e7f104dc7474a1c91a14.tar.gz vcxsrv-c10c00e21e70361cbf93e7f104dc7474a1c91a14.tar.bz2 vcxsrv-c10c00e21e70361cbf93e7f104dc7474a1c91a14.zip |
Put bracket around numerical ipv6 address for display name, otherwise the clipboard cannot open the display when using ipv6
Diffstat (limited to 'xorg-server/hw/xwin/windisplay.c')
-rw-r--r-- | xorg-server/hw/xwin/windisplay.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xorg-server/hw/xwin/windisplay.c b/xorg-server/hw/xwin/windisplay.c index 316df5ffb..db7b2f4d8 100644 --- a/xorg-server/hw/xwin/windisplay.c +++ b/xorg-server/hw/xwin/windisplay.c @@ -47,7 +47,7 @@ winGetDisplayName(char *szDisplay, unsigned int screen) } else if (TransIsListening("inet6")) { - snprintf(szDisplay, 512, "::1:%s.%d", display, screen); + snprintf(szDisplay, 512, "[::1]:%s.%d", display, screen); } else { |