diff options
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/bbs.c | 2 | ||||
-rw-r--r-- | mbbsd/cache.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index d6a6152f..b0d3b140 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -2328,7 +2328,7 @@ push_bottom(int ent, fileheader_t * fhdr, char *direct) if(strstr(direct, ".bottom")) strcpy(buf, direct); else - sprintf(buf, "%s.%s", direct, ".bottom"); + sprintf(buf, "%s.bottom", direct); num = get_num_records(buf, sizeof(fileheader_t)); if(getans(fhdr->filemode & FILE_BOTTOM ? "¨ú®ø¸m©³¤½½§i?(y/N)": diff --git a/mbbsd/cache.c b/mbbsd/cache.c index 6124d361..67864fa8 100644 --- a/mbbsd/cache.c +++ b/mbbsd/cache.c @@ -531,7 +531,7 @@ load_fileheader_bottom_cache(int bid, char *direct) if(n_bottom) { char path[256]; - sprintf(path, "%s.%s", direct, ".bottom"); + sprintf(path, "%s.bottom", direct); get_records(path, &SHM->dircache[bid - 1][dirsize], sizeof(fileheader_t), 1, n_bottom); } |