summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-03-13 21:08:43 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-03-13 21:08:43 +0800
commitc5f0358146e49eed6a6e9fa527ad08a6632c3675 (patch)
tree32a9e2301291f2ac077469a124a0b276f82c62da /mbbsd
parentb6cd35123b6fb5719591f33c55f315e10b8ce030 (diff)
downloadpttbbs-c5f0358146e49eed6a6e9fa527ad08a6632c3675.tar
pttbbs-c5f0358146e49eed6a6e9fa527ad08a6632c3675.tar.gz
pttbbs-c5f0358146e49eed6a6e9fa527ad08a6632c3675.tar.bz2
pttbbs-c5f0358146e49eed6a6e9fa527ad08a6632c3675.tar.lz
pttbbs-c5f0358146e49eed6a6e9fa527ad08a6632c3675.tar.xz
pttbbs-c5f0358146e49eed6a6e9fa527ad08a6632c3675.tar.zst
pttbbs-c5f0358146e49eed6a6e9fa527ad08a6632c3675.zip
fix r2613
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2618 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/bbs.c2
-rw-r--r--mbbsd/mail.c6
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));
}