summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-05-17 05:51:23 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-05-17 05:51:23 +0800
commit0375f7a3aae54827cca6680c7d9c96b111e1c442 (patch)
treefc8653554b8d90f05c15a9962eaaefe82bf09c8f /mbbsd
parentf1a6c4463d04cf5ea6486ef20eeb59235f944d9b (diff)
downloadpttbbs-0375f7a3aae54827cca6680c7d9c96b111e1c442.tar
pttbbs-0375f7a3aae54827cca6680c7d9c96b111e1c442.tar.gz
pttbbs-0375f7a3aae54827cca6680c7d9c96b111e1c442.tar.bz2
pttbbs-0375f7a3aae54827cca6680c7d9c96b111e1c442.tar.lz
pttbbs-0375f7a3aae54827cca6680c7d9c96b111e1c442.tar.xz
pttbbs-0375f7a3aae54827cca6680c7d9c96b111e1c442.tar.zst
pttbbs-0375f7a3aae54827cca6680c7d9c96b111e1c442.zip
fix regcode length
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@179 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/user.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/user.c b/mbbsd/user.c
index 8fea34ab..faa50d43 100644
--- a/mbbsd/user.c
+++ b/mbbsd/user.c
@@ -1,4 +1,4 @@
-/* $Id: user.c,v 1.17 2002/05/16 06:00:01 in2 Exp $ */
+/* $Id: user.c,v 1.18 2002/05/16 21:51:23 in2 Exp $ */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -892,7 +892,7 @@ int u_register(void)
{
char rname[21], addr[51], ident[12], mobile[21];
char phone[21], career[41], email[51],birthday[9],sex_is[2],year,mon,day;
- char inregcode[50], regcode[50];
+ char inregcode[14], regcode[50];
char ans[3], *ptr;
char genbuf[200];
FILE *fn;