summaryrefslogtreecommitdiffstats
path: root/mbbsd/register.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-04-10 20:48:40 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-04-10 20:48:40 +0800
commit90eb3c77f058ddad2e6d369b8aab5232f685c100 (patch)
tree23b6677da96436058b5f6b538b03ac3bfcc6fd99 /mbbsd/register.c
parente198264c33367686003b30ae2399df6f286978bf (diff)
downloadpttbbs-90eb3c77f058ddad2e6d369b8aab5232f685c100.tar
pttbbs-90eb3c77f058ddad2e6d369b8aab5232f685c100.tar.gz
pttbbs-90eb3c77f058ddad2e6d369b8aab5232f685c100.tar.bz2
pttbbs-90eb3c77f058ddad2e6d369b8aab5232f685c100.tar.lz
pttbbs-90eb3c77f058ddad2e6d369b8aab5232f685c100.tar.xz
pttbbs-90eb3c77f058ddad2e6d369b8aab5232f685c100.tar.zst
pttbbs-90eb3c77f058ddad2e6d369b8aab5232f685c100.zip
- (internal) vedit should not change input parameter.
- (internal) prepare to disable mail auto forwarding git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4127 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/register.c')
-rw-r--r--mbbsd/register.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mbbsd/register.c b/mbbsd/register.c
index 5b96035e..0a49fde4 100644
--- a/mbbsd/register.c
+++ b/mbbsd/register.c
@@ -863,6 +863,7 @@ toregister(char *email, char *phone, char *career, char *mobile)
while (1) {
email[0] = 0;
getfield(15, "身分認證用", "E-Mail Address", email, 50);
+ strip_blank(email, email);
if (strcmp(email, "X") == 0) email[0] = 'x';
if (strcmp(email, "x") == 0)
break;