X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=scp.c;h=069f7ef9034a0fefdea90743d340df545d98fd4c;hb=4756c15fc9556e2f29bdc65594ea15892f9b5d35;hp=0d100f08c70b4787ff92573a8815b69385973526;hpb=24530b945e254fd7e8d1694e48aeae7084e0f8d6;p=PuTTY.git diff --git a/scp.c b/scp.c index 0d100f08..069f7ef9 100644 --- a/scp.c +++ b/scp.c @@ -260,7 +260,7 @@ void modalfatalbox(char *fmt, ...) cleanup_exit(1); } -void connection_fatal(char *fmt, ...) +void connection_fatal(void *frontend, char *fmt, ...) { char str[0x100]; /* Make the size big enough */ va_list ap; @@ -571,6 +571,8 @@ static void do_cmd(char *host, char *user, char *cmd) err = back->init(NULL, &backhandle, cfg.host, cfg.port, &realhost, 0); if (err != NULL) bump("ssh_init: %s", err); + logctx = log_init(NULL); + back->provide_logctx(backhandle, logctx); ssh_scp_init(); if (verbose && realhost != NULL) tell_user(stderr, "Connected to %s\n", realhost);