From 7f8e7236c367778db1635497306bb423a0e738a1 Mon Sep 17 00:00:00 2001 From: victor Date: Tue, 25 Nov 2003 07:52:22 +0000 Subject: fix compile error without define FOREIGN_REG git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1372 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/user.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mbbsd') diff --git a/mbbsd/user.c b/mbbsd/user.c index 323d0939..3554103f 100644 --- a/mbbsd/user.c +++ b/mbbsd/user.c @@ -936,7 +936,7 @@ isvalidemail(char *email) } static void -toregister(char *email, char *genbuf, char *phone, char *career, char fore, +toregister(char *email, char *genbuf, char *phone, char *career, char *ident, char *rname, char *addr, char *mobile) { FILE *fn; @@ -1250,7 +1250,7 @@ u_register(void) outs("»{ÃÒ½X¿ù»~\n"); pressanykey(); } - toregister(email, genbuf, phone, career, fore[0], ident, rname, addr, mobile); + toregister(email, genbuf, phone, career, ident, rname, addr, mobile); return FULLUPDATE; } @@ -1396,7 +1396,7 @@ u_register(void) trim(addr); trim(phone); - toregister(email, genbuf, phone, career, fore[0], ident, rname, addr, mobile); + toregister(email, genbuf, phone, career, ident, rname, addr, mobile); clear(); move(9, 3); -- cgit v1.2.3