summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-05-30 14:28:50 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-05-30 14:28:50 +0800
commit6554cea283d02d82ebb5ef64505e03e257c6eb39 (patch)
treef0f0785171ccb45e43c784ae883f41989b4f810d
parent060e7b3c391cfe12b6867c14b89ae2376a7b3345 (diff)
downloadpttbbs-6554cea283d02d82ebb5ef64505e03e257c6eb39.tar
pttbbs-6554cea283d02d82ebb5ef64505e03e257c6eb39.tar.gz
pttbbs-6554cea283d02d82ebb5ef64505e03e257c6eb39.tar.bz2
pttbbs-6554cea283d02d82ebb5ef64505e03e257c6eb39.tar.lz
pttbbs-6554cea283d02d82ebb5ef64505e03e257c6eb39.tar.xz
pttbbs-6554cea283d02d82ebb5ef64505e03e257c6eb39.tar.zst
pttbbs-6554cea283d02d82ebb5ef64505e03e257c6eb39.zip
typo #ifdef -> #if
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2038 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/mbbsd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c
index 30d8e1b4..9131d3f1 100644
--- a/mbbsd/mbbsd.c
+++ b/mbbsd/mbbsd.c
@@ -861,7 +861,7 @@ static void init_guest_info(void)
currutmp->pager = 2;
}
-#ifdef FOREIGN_REG_DAY > 0
+#if FOREIGN_REG_DAY > 0
inline static void foreign_warning(void){
if ((cuser.uflag2 & FOREIGN) && !(cuser.uflag2 & LIVERIGHT)){
if (login_start_time - cuser.firstlogin > (FOREIGN_REG_DAY - 5) * 24 * 3600){