summaryrefslogtreecommitdiffstats
path: root/mbbsd/cache.c
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-03-12 17:39:16 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-03-12 17:39:16 +0800
commitf10d92d96581666a7ac2898168f0cc6f7558f32c (patch)
treeb0d98f8554c5113bc244dc7ced2ba5f7627809f7 /mbbsd/cache.c
parent786d63f533b3cd2ff6cda0ef1797fdace352561c (diff)
downloadpttbbs-f10d92d96581666a7ac2898168f0cc6f7558f32c.tar
pttbbs-f10d92d96581666a7ac2898168f0cc6f7558f32c.tar.gz
pttbbs-f10d92d96581666a7ac2898168f0cc6f7558f32c.tar.bz2
pttbbs-f10d92d96581666a7ac2898168f0cc6f7558f32c.tar.lz
pttbbs-f10d92d96581666a7ac2898168f0cc6f7558f32c.tar.xz
pttbbs-f10d92d96581666a7ac2898168f0cc6f7558f32c.tar.zst
pttbbs-f10d92d96581666a7ac2898168f0cc6f7558f32c.zip
merge from victor.symbolic branch
symbolic link to board rename something might cause misunderstanding git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1589 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/cache.c')
-rw-r--r--mbbsd/cache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/cache.c b/mbbsd/cache.c
index cacdb1d7..ff409191 100644
--- a/mbbsd/cache.c
+++ b/mbbsd/cache.c
@@ -667,7 +667,7 @@ reset_board(int bid) /* XXXbid: from 1 */
}
}
-#ifndef _BBS_UTIL_C_ /* because of Ben_Perm() in board.c */
+#ifndef _BBS_UTIL_C_ /* because of HasPerm() in board.c */
int
apply_boards(int (*func) (boardheader_t *))
{
@@ -675,7 +675,7 @@ apply_boards(int (*func) (boardheader_t *))
register boardheader_t *bhdr;
for (i = 0, bhdr = bcache; i < numboards; i++, bhdr++) {
- if (!(bhdr->brdattr & BRD_GROUPBOARD) && Ben_Perm(bhdr) &&
+ if (!(bhdr->brdattr & BRD_GROUPBOARD) && HasPerm(bhdr) &&
(*func) (bhdr) == QUIT)
return QUIT;
}