summaryrefslogtreecommitdiffstats
path: root/mbbsd/calendar.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/calendar.c')
-rw-r--r--mbbsd/calendar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/calendar.c b/mbbsd/calendar.c
index 67524a91..d5c1fe61 100644
--- a/mbbsd/calendar.c
+++ b/mbbsd/calendar.c
@@ -1,4 +1,4 @@
-/* $Id: calendar.c,v 1.8 2003/01/16 11:58:04 kcwu Exp $ */
+/* $Id$ */
#include "bbs.h"
typedef struct event_t {
@@ -129,7 +129,7 @@ ReadEvent(int today)
static event_t head;
head.next = NULL;
- setcalfile(buf, cuser.userid);
+ setcalfile(buf, cuser->userid);
fp = fopen(buf, "r");
if (fp) {
while (fgets(buf, sizeof(buf), fp)) {