X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/8def70c3ec6f81f95673c0de67a75b5a6b2e9e1c..a84abdae2e07242f4b6e80f172ce1c49be60aa2a:/unix/uxsftp.c diff --git a/unix/uxsftp.c b/unix/uxsftp.c index a9af614f..3170ecf3 100644 --- a/unix/uxsftp.c +++ b/unix/uxsftp.c @@ -34,7 +34,7 @@ char *x_get_default(const char *key) return NULL; /* this is a stub */ } -void platform_get_x11_auth(struct X11Display *display, const Config *cfg) +void platform_get_x11_auth(struct X11Display *display, Conf *conf) { /* Do nothing, therefore no auth. */ } @@ -202,6 +202,7 @@ WFile *open_existing_wfile(char *name, uint64 *size) ret = snew(WFile); ret->fd = fd; + ret->name = dupstr(name); if (size) { struct stat statbuf;