Sebastian Kuschel reports that pfd_closing can be called for a socket
[u/mdw/putty] / windows / winx11.c
1 /*
2 * winx11.c: fetch local auth data for X forwarding.
3 */
4
5 #include <ctype.h>
6 #include <assert.h>
7 #include <stdlib.h>
8
9 #include "putty.h"
10 #include "ssh.h"
11
12 void platform_get_x11_auth(struct X11Display *disp, Conf *conf)
13 {
14 char *xauthpath = conf_get_filename(conf, CONF_xauthfile)->path;
15 if (xauthpath[0])
16 x11_get_auth_from_authfile(disp, xauthpath);
17 }
18
19 const int platform_uses_x11_unix_by_default = FALSE;