From 7b8fd8594d2c12731cc1c49ad68aef4c8a25b85a Mon Sep 17 00:00:00 2001 From: scw Date: Tue, 18 Nov 2008 00:09:46 +0000 Subject: Fix compile error in util/ git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4422 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/passwd.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mbbsd/passwd.c b/mbbsd/passwd.c index 95e655a1..ac349654 100644 --- a/mbbsd/passwd.c +++ b/mbbsd/passwd.c @@ -117,10 +117,12 @@ passwd_update(int num, userec_t * buf) write(pwdfd, buf, sizeof(userec_t)); close(pwdfd); +#ifndef _BBS_UTIL_C_ if (latest_numposts != cuser.numposts) { sendalert_uid(usernum, ALERT_PWD_POSTS); latest_numposts = cuser.numposts; } +#endif return 0; } -- cgit v1.2.3