From 80d6431f5d2fa48f925712ccd98c1983404e7ee9 Mon Sep 17 00:00:00 2001 From: ptt Date: Tue, 20 Apr 2004 20:28:21 +0000 Subject: revert cuser from pointer to buffer. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1798 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/calendar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mbbsd/calendar.c') diff --git a/mbbsd/calendar.c b/mbbsd/calendar.c index d5c1fe61..5cb644c2 100644 --- a/mbbsd/calendar.c +++ b/mbbsd/calendar.c @@ -129,7 +129,7 @@ ReadEvent(int today) static event_t head; head.next = NULL; - setcalfile(buf, cuser->userid); + sethomefile(buf, cuser.userid, "calendar"); fp = fopen(buf, "r"); if (fp) { while (fgets(buf, sizeof(buf), fp)) { -- cgit v1.2.3