diff options
Diffstat (limited to 'mbbsd/admin.c')
-rw-r--r-- | mbbsd/admin.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |