summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-04-06 13:19:59 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-04-06 13:19:59 +0800
commit5e8a153148db05337a0267977af9f8fce7d3fcec (patch)
treec67842cc99ecedb9801521e4f5a414da65496c8a
parenta47589bd836f92de73811c3049d786cfcd2bd850 (diff)
downloadpttbbs-5e8a153148db05337a0267977af9f8fce7d3fcec.tar
pttbbs-5e8a153148db05337a0267977af9f8fce7d3fcec.tar.gz
pttbbs-5e8a153148db05337a0267977af9f8fce7d3fcec.tar.bz2
pttbbs-5e8a153148db05337a0267977af9f8fce7d3fcec.tar.lz
pttbbs-5e8a153148db05337a0267977af9f8fce7d3fcec.tar.xz
pttbbs-5e8a153148db05337a0267977af9f8fce7d3fcec.tar.zst
pttbbs-5e8a153148db05337a0267977af9f8fce7d3fcec.zip
fix the line error
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3499 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/user.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mbbsd/user.c b/mbbsd/user.c
index c8a6e0ca..6f9335d2 100644
--- a/mbbsd/user.c
+++ b/mbbsd/user.c
@@ -686,9 +686,10 @@ uinfo_query(userec_t *u, int adminmode, int unum)
x.mobile = atoi(buf);
do
{
- getdata_str(i++, 0, "電子信箱[變動要重新認證]:", buf, 50, DOECHO,
+ getdata_str(i, 0, "電子信箱[變動要重新認證]:", buf, 50, DOECHO,
x.email);
}while(!isvalidemail(buf));
+ i++;
if (strcmp(buf, x.email) && strchr(buf, '@')) {
strlcpy(x.email, buf, sizeof(x.email));
mail_changed = 1 - adminmode;