summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-05-01 12:42:16 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-05-01 12:42:16 +0800
commit1ff60e643a2e1d2f8f1274fc0fe6d76d5a607ee5 (patch)
tree5d9884f4ae2d925fce58192a735a58df595d0b12 /mbbsd
parenta2c574a517a7c9e9498af2af36a7ac41308baf85 (diff)
downloadpttbbs-1ff60e643a2e1d2f8f1274fc0fe6d76d5a607ee5.tar
pttbbs-1ff60e643a2e1d2f8f1274fc0fe6d76d5a607ee5.tar.gz
pttbbs-1ff60e643a2e1d2f8f1274fc0fe6d76d5a607ee5.tar.bz2
pttbbs-1ff60e643a2e1d2f8f1274fc0fe6d76d5a607ee5.tar.lz
pttbbs-1ff60e643a2e1d2f8f1274fc0fe6d76d5a607ee5.tar.xz
pttbbs-1ff60e643a2e1d2f8f1274fc0fe6d76d5a607ee5.tar.zst
pttbbs-1ff60e643a2e1d2f8f1274fc0fe6d76d5a607ee5.zip
fix last commit
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@138 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/bbs.c4
-rw-r--r--mbbsd/edit.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index 179aa720..e8a2431b 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -1,4 +1,4 @@
-/* $Id: bbs.c,v 1.4 2002/05/01 04:36:00 in2 Exp $ */
+/* $Id: bbs.c,v 1.5 2002/05/01 04:42:16 in2 Exp $ */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -386,7 +386,7 @@ static time_t last_post_time = 0;
static time_t water_counts = 0;
#endif
int local_article;
-char real_name[IDLEN + 2];
+char real_name[IDLEN + 1];
static int do_general() {
fileheader_t postfile;
diff --git a/mbbsd/edit.c b/mbbsd/edit.c
index 9d471a88..9806526d 100644
--- a/mbbsd/edit.c
+++ b/mbbsd/edit.c
@@ -1,4 +1,4 @@
-/* $Id: edit.c,v 1.6 2002/05/01 04:36:00 in2 Exp $ */
+/* $Id: edit.c,v 1.7 2002/05/01 04:42:16 in2 Exp $ */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -61,7 +61,7 @@ static textline_t *top_of_win = NULL;
static textline_t *deleted_lines = NULL;
extern int local_article;
-extern char real_name[IDLEN + 2];
+extern char real_name[IDLEN + 1];
static char line[WRAPMARGIN + 2];
static int ifuseanony=0;
static int currpnt, currln, totaln;