mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-18 19:41:01 -05:00
Make x11_get_auth_from_authfile take a Filename.
I think the only reason it currently takes a plain string is because its interesting caller (in unix/x11.c) has just constructed a string out of an environment variable, and it seemed like the path of least effort not to bother wrapping it into a proper Filename. But when Filename on Windows becomes more interesting, we'll need it to take the full version.
This commit is contained in:
2
ssh.h
2
ssh.h
@ -1370,7 +1370,7 @@ char *platform_get_x_display(void);
|
||||
* calling this function to do the rest of the work.
|
||||
*/
|
||||
void x11_get_auth_from_authfile(struct X11Display *display,
|
||||
const char *authfilename);
|
||||
Filename *authfilename);
|
||||
void x11_format_auth_for_authfile(
|
||||
BinarySink *bs, SockAddr *addr, int display_no,
|
||||
ptrlen authproto, ptrlen authdata);
|
||||
|
Reference in New Issue
Block a user