diff options
author | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-04-08 13:13:01 +0800 |
---|---|---|
committer | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-04-08 13:13:01 +0800 |
commit | b136074cbf3e7d666f511e9b233abc9587d05b3d (patch) | |
tree | 3f9171390958f95824b868601c9823a886dc96c6 /mbbsd | |
parent | 40a656b7ab01bfa140380c7a46b7f88d3ec7b961 (diff) | |
download | pttbbs-b136074cbf3e7d666f511e9b233abc9587d05b3d.tar pttbbs-b136074cbf3e7d666f511e9b233abc9587d05b3d.tar.gz pttbbs-b136074cbf3e7d666f511e9b233abc9587d05b3d.tar.bz2 pttbbs-b136074cbf3e7d666f511e9b233abc9587d05b3d.tar.lz pttbbs-b136074cbf3e7d666f511e9b233abc9587d05b3d.tar.xz pttbbs-b136074cbf3e7d666f511e9b233abc9587d05b3d.tar.zst pttbbs-b136074cbf3e7d666f511e9b233abc9587d05b3d.zip |
push bottom
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1730 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
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); } |