diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-05-01 12:36:00 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-05-01 12:36:00 +0800 |
commit | a2c574a517a7c9e9498af2af36a7ac41308baf85 (patch) | |
tree | 05d649e747f99b78e1d7c5fff70dc5b6f1fc42d6 | |
parent | 05b593d32bbf1e84b7d8d32984e6fe6851191f8e (diff) | |
download | pttbbs-a2c574a517a7c9e9498af2af36a7ac41308baf85.tar pttbbs-a2c574a517a7c9e9498af2af36a7ac41308baf85.tar.gz pttbbs-a2c574a517a7c9e9498af2af36a7ac41308baf85.tar.bz2 pttbbs-a2c574a517a7c9e9498af2af36a7ac41308baf85.tar.lz pttbbs-a2c574a517a7c9e9498af2af36a7ac41308baf85.tar.xz pttbbs-a2c574a517a7c9e9498af2af36a7ac41308baf85.tar.zst pttbbs-a2c574a517a7c9e9498af2af36a7ac41308baf85.zip |
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
-rw-r--r-- | mbbsd/bbs.c | 4 | ||||
-rw-r--r-- | 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 <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[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 <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[20]; +extern char real_name[IDLEN + 2]; static char line[WRAPMARGIN + 2]; static int ifuseanony=0; static int currpnt, currln, totaln; |