X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=psftp.c;h=e5857321629658744a2a4d0eaf617e9a38bab366;hb=4756c15fc9556e2f29bdc65594ea15892f9b5d35;hp=07045f268e444dd2e38da77229d065606831aae1;hpb=24530b945e254fd7e8d1694e48aeae7084e0f8d6;p=PuTTY.git diff --git a/psftp.c b/psftp.c index 07045f26..e5857321 100644 --- a/psftp.c +++ b/psftp.c @@ -1472,7 +1472,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; @@ -1829,6 +1829,8 @@ static int psftp_connect(char *userhost, char *user, int portnumber) fprintf(stderr, "ssh_init: %s\n", err); return 1; } + logctx = log_init(NULL); + back->provide_logctx(backhandle, logctx); ssh_sftp_init(); if (verbose && realhost != NULL) printf("Connected to %s\n", realhost);