summaryrefslogtreecommitdiffstats
path: root/mbbsd/cache.c
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-03-23 20:55:36 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-03-23 20:55:36 +0800
commit4ffc2cfeb67b922ac4885ac9443a45c9dc5ef17c (patch)
treee525a7b0dbd99c6106fb986a937f02ae5d7a9928 /mbbsd/cache.c
parent8546759cec4d91a22da56ee261f6aac0d77abd5c (diff)
downloadpttbbs-4ffc2cfeb67b922ac4885ac9443a45c9dc5ef17c.tar
pttbbs-4ffc2cfeb67b922ac4885ac9443a45c9dc5ef17c.tar.gz
pttbbs-4ffc2cfeb67b922ac4885ac9443a45c9dc5ef17c.tar.bz2
pttbbs-4ffc2cfeb67b922ac4885ac9443a45c9dc5ef17c.tar.lz
pttbbs-4ffc2cfeb67b922ac4885ac9443a45c9dc5ef17c.tar.xz
pttbbs-4ffc2cfeb67b922ac4885ac9443a45c9dc5ef17c.tar.zst
pttbbs-4ffc2cfeb67b922ac4885ac9443a45c9dc5ef17c.zip
not necessary to keep movie history
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3490 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/cache.c')
-rw-r--r--mbbsd/cache.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/mbbsd/cache.c b/mbbsd/cache.c
index 45c21f06..b721c82b 100644
--- a/mbbsd/cache.c
+++ b/mbbsd/cache.c
@@ -885,11 +885,6 @@ reload_pttcache(void)
fclose(fp);
}
SHM->max_film = id - 1;
- SHM->max_history = SHM->max_film - 2;
- if (SHM->max_history > MAX_HISTORY - 1)
- SHM->max_history = MAX_HISTORY - 1;
- if (SHM->max_history < 0)
- SHM->max_history = 0;
fp = fopen("etc/today_is", "r");
if (fp) {