summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-08-06 15:12:52 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-08-06 15:12:52 +0800
commit6409d8242bf23eb46881dc292717a9413cc28f62 (patch)
tree004f66b45346affd39a6811035a071158d7a2bde
parentd7e6e078244dddb19fcecf288e45d5bf58c95bfb (diff)
downloadpttbbs-6409d8242bf23eb46881dc292717a9413cc28f62.tar
pttbbs-6409d8242bf23eb46881dc292717a9413cc28f62.tar.gz
pttbbs-6409d8242bf23eb46881dc292717a9413cc28f62.tar.bz2
pttbbs-6409d8242bf23eb46881dc292717a9413cc28f62.tar.lz
pttbbs-6409d8242bf23eb46881dc292717a9413cc28f62.tar.xz
pttbbs-6409d8242bf23eb46881dc292717a9413cc28f62.tar.zst
pttbbs-6409d8242bf23eb46881dc292717a9413cc28f62.zip
fix idcard number bug
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk@452 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/mbbsd/user.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pttbbs/mbbsd/user.c b/pttbbs/mbbsd/user.c
index 9f985ab9..fc60c08d 100644
--- a/pttbbs/mbbsd/user.c
+++ b/pttbbs/mbbsd/user.c
@@ -1,4 +1,4 @@
-/* $Id: user.c,v 1.34 2002/07/25 11:06:15 in2 Exp $ */
+/* $Id: user.c,v 1.35 2002/08/06 07:12:52 in2 Exp $ */
#include "bbs.h"
static char *sex[8] = {
@@ -753,7 +753,7 @@ removespace(char *s)
static int
ispersonalid(char *inid)
{
- char *lst = "ABCDEFGHJKLMNPQRSTUVWXYZIO", id[20];
+ char *lst = "ABCDEFGHJKLMNPQRSTUVXYWZIO", id[20];
int i, j, cksum;
strlcpy(id, inid, sizeof(id));