summaryrefslogtreecommitdiffstats
path: root/util/bbsmail.c
diff options
context:
space:
mode:
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 */