From a2c574a517a7c9e9498af2af36a7ac41308baf85 Mon Sep 17 00:00:00 2001 From: in2 Date: Wed, 1 May 2002 04:36:00 +0000 Subject: change real_name[20] to real_name[IDLEN+2] for anonymous posting git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@137 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/bbs.c | 4 ++-- mbbsd/edit.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index eb252233..179aa720 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -1,4 +1,4 @@ -/* $Id: bbs.c,v 1.3 2002/04/29 07:05:45 in2 Exp $ */ +/* $Id: bbs.c,v 1.4 2002/05/01 04:36:00 in2 Exp $ */ #include #include #include @@ -386,7 +386,7 @@ static time_t last_post_time = 0; static time_t water_counts = 0; #endif int local_article; -char real_name[20]; +char real_name[IDLEN + 2]; static int do_general() { fileheader_t postfile; diff --git a/mbbsd/edit.c b/mbbsd/edit.c index 79ecf7f6..9d471a88 100644 --- a/mbbsd/edit.c +++ b/mbbsd/edit.c @@ -1,4 +1,4 @@ -/* $Id: edit.c,v 1.5 2002/04/28 19:35:29 in2 Exp $ */ +/* $Id: edit.c,v 1.6 2002/05/01 04:36:00 in2 Exp $ */ #include #include #include @@ -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[20]; +extern char real_name[IDLEN + 2]; static char line[WRAPMARGIN + 2]; static int ifuseanony=0; static int currpnt, currln, totaln; -- cgit v1.2.3