projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add an include statement to Makefile.gtk that imports if present a
[u/mdw/putty]
/
x11fwd.c
diff --git
a/x11fwd.c
b/x11fwd.c
index
139cb77
..
4621ac9
100644
(file)
--- a/
x11fwd.c
+++ b/
x11fwd.c
@@
-301,9
+301,9
@@
const char *x11_init(Socket * s, char *display, void *c, void *auth,
host[n] = '\0';
sfree(display);
host[n] = '\0';
sfree(display);
- if(!strcmp(host, "unix")) {
+ if(!strcmp(host, "unix")
|| host[0] == '/'
) {
/* use AF_UNIX sockets (doesn't make sense on all platforms) */
/* use AF_UNIX sockets (doesn't make sense on all platforms) */
- addr = platform_get_x11_unix_address(displaynum,
+ addr = platform_get_x11_unix_address(display
, display
num,
&dummy_realhost);
port = 0; /* to show we are not confused */
} else {
&dummy_realhost);
port = 0; /* to show we are not confused */
} else {