summaryrefslogtreecommitdiffstats
path: root/util/bbsmail.c
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-11-02 19:15:27 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-11-02 19:15:27 +0800
commit4df40c690f60fe3859822415451f06e2fa792c9e (patch)
tree837f742e188b0a6f94e9f5095e3c76abd5a721cf /util/bbsmail.c
parent8a95a36711719545660a8cce3218ab8cb43ccd97 (diff)
downloadpttbbs-4df40c690f60fe3859822415451f06e2fa792c9e.tar
pttbbs-4df40c690f60fe3859822415451f06e2fa792c9e.tar.gz
pttbbs-4df40c690f60fe3859822415451f06e2fa792c9e.tar.bz2
pttbbs-4df40c690f60fe3859822415451f06e2fa792c9e.tar.lz
pttbbs-4df40c690f60fe3859822415451f06e2fa792c9e.tar.xz
pttbbs-4df40c690f60fe3859822415451f06e2fa792c9e.tar.zst
pttbbs-4df40c690f60fe3859822415451f06e2fa792c9e.zip
fix bug
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@552 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'util/bbsmail.c')
-rw-r--r--util/bbsmail.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/util/bbsmail.c b/util/bbsmail.c
index 7c671418..0663a5c8 100644
--- a/util/bbsmail.c
+++ b/util/bbsmail.c
@@ -1,6 +1,6 @@
-/* $Id: bbsmail.c,v 1.5 2002/11/02 11:02:32 in2 Exp $ */
+/* $Id: bbsmail.c,v 1.6 2002/11/02 11:15:27 in2 Exp $ */
-#define _BBS_UTIL_C_
+#define _UTIL_C_
#include "bbs.h"
#define LOG_FILE (BBSHOME "/etc/mailog")
@@ -239,6 +239,8 @@ main(int argc, char* argv[])
{
char receiver[512];
+ if( passwd_mmap() )
+ return 0;
chdir(BBSHOME);
/* argv[1] is userid in bbs */