diff options
author | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2006-09-17 02:46:36 +0800 |
---|---|---|
committer | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2006-09-17 02:46:36 +0800 |
commit | e72482234de3aaca436c044b69e57a30202a7211 (patch) | |
tree | 7e1b259ee313a50c8be21b17b228c31c495757fb /mbbsd/var.c | |
parent | caddbcd9c4cf54cc685c43b5d7d05f748532f422 (diff) | |
download | pttbbs-e72482234de3aaca436c044b69e57a30202a7211.tar pttbbs-e72482234de3aaca436c044b69e57a30202a7211.tar.gz pttbbs-e72482234de3aaca436c044b69e57a30202a7211.tar.bz2 pttbbs-e72482234de3aaca436c044b69e57a30202a7211.tar.lz pttbbs-e72482234de3aaca436c044b69e57a30202a7211.tar.xz pttbbs-e72482234de3aaca436c044b69e57a30202a7211.tar.zst pttbbs-e72482234de3aaca436c044b69e57a30202a7211.zip |
Allocate water[] on demend. Saved about 4400 bytes.
Only 4%~5% online user of ptt use this feature.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3420 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/var.c')
-rw-r--r-- | mbbsd/var.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/var.c b/mbbsd/var.c index 657a25d6..6da13ebe 100644 --- a/mbbsd/var.c +++ b/mbbsd/var.c @@ -386,7 +386,7 @@ char raw_connection = 0; char fromhost[STRLEN] = "\0"; char water_usies = 0; FILE *fp_writelog = NULL; -water_t water[6], *swater[6], *water_which = &water[0]; +water_t *water, *swater[6], *water_which; char over18 = 0; /* chc_play.c */ |