summaryrefslogtreecommitdiffstats
path: root/mbbsd/calendar.c
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-06-19 15:09:36 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-06-19 15:09:36 +0800
commitb0c1cf5337e0558bfe7865ffb0af43dedcbce763 (patch)
treed68a2750640635be444838ca0ef1b1c18eda4630 /mbbsd/calendar.c
parent61e5496de1c16248a783102591aafc48c340090c (diff)
downloadpttbbs-b0c1cf5337e0558bfe7865ffb0af43dedcbce763.tar
pttbbs-b0c1cf5337e0558bfe7865ffb0af43dedcbce763.tar.gz
pttbbs-b0c1cf5337e0558bfe7865ffb0af43dedcbce763.tar.bz2
pttbbs-b0c1cf5337e0558bfe7865ffb0af43dedcbce763.tar.lz
pttbbs-b0c1cf5337e0558bfe7865ffb0af43dedcbce763.tar.xz
pttbbs-b0c1cf5337e0558bfe7865ffb0af43dedcbce763.tar.zst
pttbbs-b0c1cf5337e0558bfe7865ffb0af43dedcbce763.zip
* remove global or static variable
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4669 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/calendar.c')
-rw-r--r--mbbsd/calendar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/calendar.c b/mbbsd/calendar.c
index 3aeea05d..dad8bc46 100644
--- a/mbbsd/calendar.c
+++ b/mbbsd/calendar.c
@@ -118,7 +118,7 @@ ReadEvent(int today)
{
FILE *fp;
char buf[PATHLEN];
- static event_t head;
+ event_t head;
head.next = NULL;
sethomefile(buf, cuser.userid, "calendar");