diff options
author | scw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-11-18 08:09:46 +0800 |
---|---|---|
committer | scw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-11-18 08:09:46 +0800 |
commit | 7b8fd8594d2c12731cc1c49ad68aef4c8a25b85a (patch) | |
tree | 28102464bc99a2e6acc08abd767ae48f233ca16e /mbbsd/passwd.c | |
parent | a9931c0e255ef0e37c4f2149b65c09636d56ec2b (diff) | |
download | pttbbs-7b8fd8594d2c12731cc1c49ad68aef4c8a25b85a.tar pttbbs-7b8fd8594d2c12731cc1c49ad68aef4c8a25b85a.tar.gz pttbbs-7b8fd8594d2c12731cc1c49ad68aef4c8a25b85a.tar.bz2 pttbbs-7b8fd8594d2c12731cc1c49ad68aef4c8a25b85a.tar.lz pttbbs-7b8fd8594d2c12731cc1c49ad68aef4c8a25b85a.tar.xz pttbbs-7b8fd8594d2c12731cc1c49ad68aef4c8a25b85a.tar.zst pttbbs-7b8fd8594d2c12731cc1c49ad68aef4c8a25b85a.zip |
Fix compile error in util/
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4422 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/passwd.c')
-rw-r--r-- | mbbsd/passwd.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |