projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
When writing session data to stdout or stderr, switch the relevant file
[u/mdw/putty]
/
pscp.c
diff --git
a/pscp.c
b/pscp.c
index
8e082e7
..
1809c6f
100644
(file)
--- a/
pscp.c
+++ b/
pscp.c
@@
-180,12
+180,6
@@
int from_backend(void *frontend, int is_stderr, const char *data, int datalen)
return 0;
}
return 0;
}
- /*
- * If this is before the real session begins, just return.
- */
- if (!outptr)
- return 0;
-
if ((outlen > 0) && (len > 0)) {
unsigned used = outlen;
if (used > len)
if ((outlen > 0) && (len > 0)) {
unsigned used = outlen;
if (used > len)
@@
-424,6
+418,7
@@
static void do_cmd(char *host, char *user, char *cmd)
cfg.x11_forward = 0;
cfg.agentfwd = 0;
cfg.portfwd[0] = cfg.portfwd[1] = '\0';
cfg.x11_forward = 0;
cfg.agentfwd = 0;
cfg.portfwd[0] = cfg.portfwd[1] = '\0';
+ cfg.ssh_simple = TRUE;
/*
* Set up main and possibly fallback command depending on
/*
* Set up main and possibly fallback command depending on