From c5f0358146e49eed6a6e9fa527ad08a6632c3675 Mon Sep 17 00:00:00 2001 From: in2 Date: Sun, 13 Mar 2005 13:08:43 +0000 Subject: fix r2613 git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2618 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/bbs.c | 2 +- mbbsd/mail.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index fff7418e..eae15f51 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -399,7 +399,7 @@ do_unanonymous_post(char *fpath) if (dashd(genbuf)) { stampfile(genbuf, &mhdr); unlink(genbuf); - // XXX: Link should use ~/ or BBSHOME/blah + // XXX: Link should use BBSHOME/blah Link(fpath, genbuf); strlcpy(mhdr.owner, cuser.userid, sizeof(mhdr.owner)); strlcpy(mhdr.title, save_title, sizeof(mhdr.title)); diff --git a/mbbsd/mail.c b/mbbsd/mail.c index 260ebc4c..82263f74 100644 --- a/mbbsd/mail.c +++ b/mbbsd/mail.c @@ -1725,11 +1725,11 @@ mail_justify(userec_t muser) bsmtp(NULL, title, muser.email, MQ_JUSTIFY) #endif <0) - Link("~/etc/bademail", buf1); + Link(BBSHOME "/etc/bademail", buf1); else - Link("~/etc/replyemail", buf1); + Link(BBSHOME "/etc/replyemail", buf1); } else - Link("~/etc/bademail", buf1); + Link(BBSHOME "/etc/bademail", buf1); sethomedir(title, muser.userid); append_record_forward(title, &mhdr, sizeof(mhdr)); } -- cgit v1.2.3