diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-07-01 16:03:55 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-07-01 16:03:55 +0800 |
commit | 6cfd452d48ca7ed955056416cfdcf6e8fcbf6d76 (patch) | |
tree | 6ecc7283afe56e8765e5feb15f3136d5f7064372 | |
parent | 460851d46c3093a1790a0612e16b0820bc7bee1f (diff) | |
download | pttbbs-6cfd452d48ca7ed955056416cfdcf6e8fcbf6d76.tar pttbbs-6cfd452d48ca7ed955056416cfdcf6e8fcbf6d76.tar.gz pttbbs-6cfd452d48ca7ed955056416cfdcf6e8fcbf6d76.tar.bz2 pttbbs-6cfd452d48ca7ed955056416cfdcf6e8fcbf6d76.tar.lz pttbbs-6cfd452d48ca7ed955056416cfdcf6e8fcbf6d76.tar.xz pttbbs-6cfd452d48ca7ed955056416cfdcf6e8fcbf6d76.tar.zst pttbbs-6cfd452d48ca7ed955056416cfdcf6e8fcbf6d76.zip |
chdir(BBSHOME)
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk@398 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | pttbbs/util/bbsmail.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pttbbs/util/bbsmail.c b/pttbbs/util/bbsmail.c index 634b2991..54e4dc47 100644 --- a/pttbbs/util/bbsmail.c +++ b/pttbbs/util/bbsmail.c @@ -1,4 +1,4 @@ -/* $Id: bbsmail.c,v 1.3 2002/06/06 21:34:14 in2 Exp $ */ +/* $Id: bbsmail.c,v 1.4 2002/07/01 08:03:55 in2 Exp $ */ #define _BBS_UTIL_C_ #include "bbs.h" @@ -205,6 +205,7 @@ main(int argc, char* argv[]) { char receiver[256]; + chdir(BBSHOME); /* argv[1] is userid in bbs */ if (argc < 2) |