From e104196846d0f656ae663d2a67eec9e02e43cbec Mon Sep 17 00:00:00 2001 From: piaip Date: Sat, 19 Sep 2009 02:47:08 +0000 Subject: * change the name of 'movie' to 'adbanner' (advertisement banner), which is more descriptive. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4854 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- common/bbs/cache.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'common') diff --git a/common/bbs/cache.c b/common/bbs/cache.c index d202b61b..19d5b895 100644 --- a/common/bbs/cache.c +++ b/common/bbs/cache.c @@ -650,7 +650,7 @@ void buildBMcache(int bid) /* bid starts from 1 */ } /* - * section - PTT cache (movie cache?) + * section - PTT cache (adbanner cache?) * 動態看板與其它 */ int @@ -780,13 +780,13 @@ reload_pttcache(void) } fclose(fp2); - if (id >= MAX_MOVIE) + if (id >= MAX_ADBANNER) break; } // end of file loop fclose(fp1); - if (id >= MAX_MOVIE) + if (id >= MAX_ADBANNER) break; } // end of .DIR loop fclose(fp); -- cgit v1.2.3