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 | b3c045bab7abd2e9d9e0cb43a65f4ec6c9dd3f67 (patch) | |
tree | 79fedbc82d7398eab3faa3b7a414e983832daca1 | |
parent | feacdd104da0b2493c683c9b0536d957499a480a (diff) | |
download | pttbbs-b3c045bab7abd2e9d9e0cb43a65f4ec6c9dd3f67.tar pttbbs-b3c045bab7abd2e9d9e0cb43a65f4ec6c9dd3f67.tar.gz pttbbs-b3c045bab7abd2e9d9e0cb43a65f4ec6c9dd3f67.tar.bz2 pttbbs-b3c045bab7abd2e9d9e0cb43a65f4ec6c9dd3f67.tar.lz pttbbs-b3c045bab7abd2e9d9e0cb43a65f4ec6c9dd3f67.tar.xz pttbbs-b3c045bab7abd2e9d9e0cb43a65f4ec6c9dd3f67.tar.zst pttbbs-b3c045bab7abd2e9d9e0cb43a65f4ec6c9dd3f67.zip |
chdir(BBSHOME)
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@398 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | util/bbsmail.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/util/bbsmail.c b/util/bbsmail.c index 634b2991..54e4dc47 100644 --- a/util/bbsmail.c +++ b/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) |