~mdw
/
sgt
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Patch from Alan Clucas (somewhat polished) providing command-line
[sgt/putty]
/
unix
/
uxsftp.c
diff --git
a/unix/uxsftp.c
b/unix/uxsftp.c
index
fd6b528
..
b26c4b5
100644
(file)
--- a/
unix/uxsftp.c
+++ b/
unix/uxsftp.c
@@
-18,6
+18,7
@@
#endif
#include "putty.h"
#endif
#include "putty.h"
+#include "ssh.h"
#include "psftp.h"
#include "int64.h"
#include "psftp.h"
#include "int64.h"
@@
-33,11
+34,11
@@
char *x_get_default(const char *key)
return NULL; /* this is a stub */
}
return NULL; /* this is a stub */
}
-void platform_get_x11_auth(char *display, int *protocol,
- unsigned char *data, int *datalen)
+void platform_get_x11_auth(struct X11Display *display, const Config *cfg)
{
/* Do nothing, therefore no auth. */
}
{
/* Do nothing, therefore no auth. */
}
+const int platform_uses_x11_unix_by_default = TRUE;
/*
* Default settings that are specific to PSFTP.
/*
* Default settings that are specific to PSFTP.
@@
-201,6
+202,7
@@
WFile *open_existing_wfile(char *name, uint64 *size)
ret = snew(WFile);
ret->fd = fd;
ret = snew(WFile);
ret->fd = fd;
+ ret->name = dupstr(name);
if (size) {
struct stat statbuf;
if (size) {
struct stat statbuf;