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
commitd68e897b48d0a0a7d38ef15ba5192ef010cafb06 (patch)
tree214e220bc4e9e69a5418b5ede0b11eb43b638e27
parentbee84902a44c9470f2abe0cb638448b6363e27fb (diff)
downloadpttbbs-d68e897b48d0a0a7d38ef15ba5192ef010cafb06.tar
pttbbs-d68e897b48d0a0a7d38ef15ba5192ef010cafb06.tar.gz
pttbbs-d68e897b48d0a0a7d38ef15ba5192ef010cafb06.tar.bz2
pttbbs-d68e897b48d0a0a7d38ef15ba5192ef010cafb06.tar.lz
pttbbs-d68e897b48d0a0a7d38ef15ba5192ef010cafb06.tar.xz
pttbbs-d68e897b48d0a0a7d38ef15ba5192ef010cafb06.tar.zst
pttbbs-d68e897b48d0a0a7d38ef15ba5192ef010cafb06.zip
fix idcard number bug
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@452 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/user.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/user.c b/mbbsd/user.c
index 9f985ab9..fc60c08d 100644
--- a/mbbsd/user.c
+++ b/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));