From 0ac2edb34df938e43d233e4d47a05231355747ee Mon Sep 17 00:00:00 2001 From: ben Date: Sat, 1 Feb 2003 21:39:59 +0000 Subject: [PATCH] In xlatlognam(), use the start of the destination buffer as the destination filename, not the end. git-svn-id: svn://svn.tartarus.org/sgt/putty@2770 cda61777-01e9-0310-a592-d414129be87e --- logging.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.11.0