From 9ec5a63caa8084a8923114f57ee408b8a5508340 Mon Sep 17 00:00:00 2001 From: ptt Date: Fri, 25 Jun 2004 03:52:43 +0000 Subject: fix bug git-svn-id: http://opensvn.csie.org/pttbbs/branches/Ptt.merge@2086 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/admin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mbbsd') diff --git a/mbbsd/admin.c b/mbbsd/admin.c index 92c4addd..d9211c74 100644 --- a/mbbsd/admin.c +++ b/mbbsd/admin.c @@ -304,7 +304,7 @@ void merge_dir(char *dir1, char *dir2) fh[i-1].recommend =0; fh[i-1].filemode |= 1; append_record(dir1, &fh[i-1], sizeof(fileheader_t)); - strcpy(p1, fh[i].filename); + strcpy(p1, fh[i-1].filename); if(!dashd(file1)) { strcpy(p2, fh[i-1].filename); -- cgit v1.2.3