mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 09:58:01 +00:00
*sigh* X11 forwarding to a local display (":0" or similar) specified in the
environment rather than the configuraton was failing as of 0.56 (introduced
in r4604). This probably only bit users of Unix PuTTY. Didn't spot in testing
as I was forwarding to already-forwarded displays. I really wasn't having a
good month that month, was I?
[originally from svn r4816]
[r4604 == 98028c746f
]
This commit is contained in:
parent
da948bc151
commit
2a41bc0808
2
x11fwd.c
2
x11fwd.c
@ -242,7 +242,7 @@ char *x11_display(const char *display) {
|
||||
ret = dupstr(display);
|
||||
if(ret[0] == ':') {
|
||||
/* no transport specified, use whatever we think is best */
|
||||
char *s = dupcat(platform_x11_best_transport, display, (char *)0);
|
||||
char *s = dupcat(platform_x11_best_transport, ret, (char *)0);
|
||||
sfree(ret);
|
||||
return s;
|
||||
} else
|
||||
|
Loading…
Reference in New Issue
Block a user