X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/9fab77dc00ff2183dd642f4f088d2d54ed3d5887..c725e24c2ffb016d5a86654f8612cf8c6e33e346:/logging.c diff --git a/logging.c b/logging.c index 6c4e1889..499747c7 100644 --- a/logging.c +++ b/logging.c @@ -258,5 +258,5 @@ static void xlatlognam(Filename *dest, Filename src, } *d = '\0'; - *dest = filename_from_str(d); + *dest = filename_from_str(buffer); }