diff options
Diffstat (limited to 'mbbsd/cal.c')
-rw-r--r-- | mbbsd/cal.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mbbsd/cal.c b/mbbsd/cal.c index a443291d..d2cec676 100644 --- a/mbbsd/cal.c +++ b/mbbsd/cal.c @@ -206,9 +206,8 @@ osong(char *defaultid) fclose(fp1); fclose(fp); - //do_append(OSONGMAIL "/.DIR", &mail2, sizeof(mail2)); - if (do_append(OSONGPATH "/.DIR", &mail, sizeof(mail)) != -1) { + if (append_record(OSONGPATH "/.DIR", &mail, sizeof(mail)) != -1) { cuser.lastsong = now; /* Jaky 超過 500 首歌就開始砍 */ nsongs = get_num_records(OSONGPATH "/.DIR", sizeof(mail)); |