projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
The logging module now contains a local copy of cfg too.
[u/mdw/putty]
/
scp.c
diff --git
a/scp.c
b/scp.c
index
20f97dd
..
9dda067
100644
(file)
--- a/
scp.c
+++ b/
scp.c
@@
-577,7
+577,7
@@
static void do_cmd(char *host, char *user, char *cmd)
err = back->init(NULL, &backhandle, &cfg, cfg.host, cfg.port, &realhost,0);
if (err != NULL)
bump("ssh_init: %s", err);
err = back->init(NULL, &backhandle, &cfg, cfg.host, cfg.port, &realhost,0);
if (err != NULL)
bump("ssh_init: %s", err);
- logctx = log_init(NULL);
+ logctx = log_init(NULL
, &cfg
);
back->provide_logctx(backhandle, logctx);
ssh_scp_init();
if (verbose && realhost != NULL)
back->provide_logctx(backhandle, logctx);
ssh_scp_init();
if (verbose && realhost != NULL)