summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-07-01 16:03:55 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-07-01 16:03:55 +0800
commitb3c045bab7abd2e9d9e0cb43a65f4ec6c9dd3f67 (patch)
tree79fedbc82d7398eab3faa3b7a414e983832daca1
parentfeacdd104da0b2493c683c9b0536d957499a480a (diff)
downloadpttbbs-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.c3
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)