Post-release destabilisation! Completely remove the struct type
[u/mdw/putty] / unix / uxsftp.c
index a9af614..3170ecf 100644 (file)
@@ -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;