projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Support, on Unix only (so far), for OpenSSH-style generic proxying
[u/mdw/putty]
/
unix
/
ux_x11.c
diff --git
a/unix/ux_x11.c
b/unix/ux_x11.c
index
47d0ef5
..
67c76f8
100644
(file)
--- a/
unix/ux_x11.c
+++ b/
unix/ux_x11.c
@@
-13,6
+13,7
@@
void platform_get_x11_auth(char *display, int *protocol,
char *command;
int maxsize = *datalen;
char *localbuf;
char *command;
int maxsize = *datalen;
char *localbuf;
+ int proto = -1;
/*
* Normally we should run `xauth list DISPLAYNAME'. However,
/*
* Normally we should run `xauth list DISPLAYNAME'. However,
@@
-36,7
+37,7
@@
void platform_get_x11_auth(char *display, int *protocol,
* Read a line from stdin, and attempt to parse it into a
* display name (ignored), auth protocol, and auth string.
*/
* Read a line from stdin, and attempt to parse it into a
* display name (ignored), auth protocol, and auth string.
*/
- int c, i, hexdigit
, proto
;
+ int c, i, hexdigit;
char protoname[64];
/* Skip the display name. */
char protoname[64];
/* Skip the display name. */