diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-03-08 00:44:18 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-03-08 00:44:18 +0800 |
commit | d1119be16b4062d4053de8ca800c82c52ddad90d (patch) | |
tree | 112c30711236f47d55469662ddc376cb8e422326 | |
parent | 3e5e3d4078a7f999c56c16742f0ab5684b7a7b83 (diff) | |
download | pttbbs-d1119be16b4062d4053de8ca800c82c52ddad90d.tar pttbbs-d1119be16b4062d4053de8ca800c82c52ddad90d.tar.gz pttbbs-d1119be16b4062d4053de8ca800c82c52ddad90d.tar.bz2 pttbbs-d1119be16b4062d4053de8ca800c82c52ddad90d.tar.lz pttbbs-d1119be16b4062d4053de8ca800c82c52ddad90d.tar.xz pttbbs-d1119be16b4062d4053de8ca800c82c52ddad90d.tar.zst pttbbs-d1119be16b4062d4053de8ca800c82c52ddad90d.zip |
register default to skip
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@3 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/admin.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/mbbsd/admin.c b/mbbsd/admin.c index 14bc9721..54fb017f 100644 --- a/mbbsd/admin.c +++ b/mbbsd/admin.c @@ -1,4 +1,4 @@ -/* $Id: admin.c,v 1.1 2002/03/07 15:13:48 in2 Exp $ */ +/* $Id: admin.c,v 1.2 2002/03/07 16:44:18 in2 Exp $ */ #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -812,8 +812,12 @@ int scan_register_form(char *regfile, int automode, int neednum) { ans[0] = 'd'; } else { getdata(b_lines - 1, 0, - "是否接受此資料(Y/N/Q/Del/Skip)?[Y] ", + "是否接受此資料(Y/N/Q/Del/Skip)?[S] ", ans, 3, LCECHO); + if( ans[0] != 'y' && ans[0] != 'n' && + ans[0] != 'q' && ans[0] != 'd' ) + ans[0] = 's'; + ans[1] = 0; } nSelf++; } else |