In xlatlognam(), use the start of the destination buffer as the destination
authorben <ben@cda61777-01e9-0310-a592-d414129be87e>
Sat, 1 Feb 2003 21:39:59 +0000 (21:39 +0000)
committerben <ben@cda61777-01e9-0310-a592-d414129be87e>
Sat, 1 Feb 2003 21:39:59 +0000 (21:39 +0000)
filename, not the end.

git-svn-id: svn://svn.tartarus.org/sgt/putty@2770 cda61777-01e9-0310-a592-d414129be87e

logging.c

index 6c4e188..499747c 100644 (file)
--- 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);
 }