summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-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)