summaryrefslogtreecommitdiffstats
path: root/mbbsd/user.c
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-05-11 15:29:43 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-05-11 15:29:43 +0800
commit210d4d23d560849689ac668b2b9f749c88d654c6 (patch)
tree7ae8649d094e357dacfa6a55db56ba33085d0234 /mbbsd/user.c
parentd44c9aebba4a0a48c3e2ffbfd258c7819f224f85 (diff)
downloadpttbbs-210d4d23d560849689ac668b2b9f749c88d654c6.tar
pttbbs-210d4d23d560849689ac668b2b9f749c88d654c6.tar.gz
pttbbs-210d4d23d560849689ac668b2b9f749c88d654c6.tar.bz2
pttbbs-210d4d23d560849689ac668b2b9f749c88d654c6.tar.lz
pttbbs-210d4d23d560849689ac668b2b9f749c88d654c6.tar.xz
pttbbs-210d4d23d560849689ac668b2b9f749c88d654c6.tar.zst
pttbbs-210d4d23d560849689ac668b2b9f749c88d654c6.zip
fix wrong var
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@838 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/user.c')
-rw-r--r--mbbsd/user.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mbbsd/user.c b/mbbsd/user.c
index 98c8eac1..de8cc761 100644
--- a/mbbsd/user.c
+++ b/mbbsd/user.c
@@ -1,4 +1,4 @@
-/* $Id: user.c,v 1.57 2003/05/11 00:35:16 victor Exp $ */
+/* $Id: user.c,v 1.58 2003/05/11 07:29:43 victor Exp $ */
#include "bbs.h"
static char *sex[8] = {
@@ -1168,9 +1168,9 @@ u_register(void)
sethomefile(genbuf, cuser.userid, "justify.wait");
if ((fn = fopen(genbuf, "r"))) {
fgets(phone, 21, fn);
- if(strcmp(ident, "#foreign") == 0){
+ if(strcmp(phone, "#foreign") == 0){
fore[0] = 'y'; fore[1] = '\n';
- fgets(ident, 21, fn);
+ fgets(phone, 21, fn);
}
phone[strlen(phone) - 1] = 0;
fgets(career, 41, fn);