From 0375f7a3aae54827cca6680c7d9c96b111e1c442 Mon Sep 17 00:00:00 2001 From: in2 Date: Thu, 16 May 2002 21:51:23 +0000 Subject: fix regcode length git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@179 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/user.c | 4 ++-- 1 file 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 #include #include @@ -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; -- cgit v1.2.3