summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-05-11 08:40:25 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-05-11 08:40:25 +0800
commit47c78722d6250a0a958f1b47c11feb90a83f0c39 (patch)
treec55b89430170f5cb70bc860481e7e20c6da17f46
parentd57f0ffcb377f57cda39795fd032d7ba2690eaf8 (diff)
downloadpttbbs-47c78722d6250a0a958f1b47c11feb90a83f0c39.tar
pttbbs-47c78722d6250a0a958f1b47c11feb90a83f0c39.tar.gz
pttbbs-47c78722d6250a0a958f1b47c11feb90a83f0c39.tar.bz2
pttbbs-47c78722d6250a0a958f1b47c11feb90a83f0c39.tar.lz
pttbbs-47c78722d6250a0a958f1b47c11feb90a83f0c39.tar.xz
pttbbs-47c78722d6250a0a958f1b47c11feb90a83f0c39.tar.zst
pttbbs-47c78722d6250a0a958f1b47c11feb90a83f0c39.zip
un-init var
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@836 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/admin.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mbbsd/admin.c b/mbbsd/admin.c
index 5253a37c..8df3ef1b 100644
--- a/mbbsd/admin.c
+++ b/mbbsd/admin.c
@@ -1,4 +1,4 @@
-/* $Id: admin.c,v 1.36 2003/05/11 00:35:16 victor Exp $ */
+/* $Id: admin.c,v 1.37 2003/05/11 00:40:25 victor Exp $ */
#include "bbs.h"
/* 使用者管理 */
@@ -824,9 +824,9 @@ scan_register_form(char *regfile, int automode, int neednum)
prints(" %-12s:%s\n", finfo[0], fdata[0]);
prints(" %-12s:%s\n", finfo[1], fdata[1]);
#ifdef FOREIGN_REG
- prints("1.%-12s:%s%s\n", finfo[n], fdata[n], muser.uflag2 & FOREIGN ? "外籍" : "");
+ prints("1.%-12s:%s%s\n", finfo[2], fdata[2], muser.uflag2 & FOREIGN ? "外籍" : "");
#else
- prints("1.%-12s:%s\n", finfo[n], fdata[n]);
+ prints("1.%-12s:%s\n", finfo[2], fdata[2]);
#endif
for (n = 3; field[n]; n++) {
prints("%d.%-12s:%s\n", n - 2, finfo[n], fdata[n]);