summaryrefslogtreecommitdiffstats
path: root/mbbsd/register.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-06-18 08:34:44 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-06-18 08:34:44 +0800
commitfddfadb086f3ca12266c9add4df5c483b76d057d (patch)
treebcb82ce955f241503276c3f107ba2a879c7b97fd /mbbsd/register.c
parent15c54e44d457673734e988e6ee63df3b24f8d7b7 (diff)
downloadpttbbs-fddfadb086f3ca12266c9add4df5c483b76d057d.tar
pttbbs-fddfadb086f3ca12266c9add4df5c483b76d057d.tar.gz
pttbbs-fddfadb086f3ca12266c9add4df5c483b76d057d.tar.bz2
pttbbs-fddfadb086f3ca12266c9add4df5c483b76d057d.tar.lz
pttbbs-fddfadb086f3ca12266c9add4df5c483b76d057d.tar.xz
pttbbs-fddfadb086f3ca12266c9add4df5c483b76d057d.tar.zst
pttbbs-fddfadb086f3ca12266c9add4df5c483b76d057d.zip
* refine the error message when emaildb was malfunction
* allow specify db file to generate in initemaildb git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4654 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/register.c')
-rw-r--r--mbbsd/register.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/mbbsd/register.c b/mbbsd/register.c
index ff714ff6..7eebd4b5 100644
--- a/mbbsd/register.c
+++ b/mbbsd/register.c
@@ -1199,12 +1199,19 @@ toregister(char *email)
else if (check_regmail(email)) {
char yn[3];
#ifdef USE_EMAILDB
- int email_count = emaildb_check_email(email, strlen(email));
+ int email_count;
+
+ // before long waiting, alert user
+ move(18, 0); clrtobot();
+ outs("正在確認 email, 請稍候...\n");
+ doupdate();
+
+ email_count = emaildb_check_email(email, strlen(email));
if (email_count < 0) {
move(15, 0); clrtobot();
move(17, 0);
- outs("暫時不允許\ email 認證註冊, 請稍後再試\n");
+ outs("email 認證系統發生問題, 請稍後再試。\n");
pressanykey();
return;
} else if (email_count >= EMAILDB_LIMIT) {