summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-11-21 03:54:19 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-11-21 03:54:19 +0800
commit5a9ee439a653535e033702bae7c70443cfc01216 (patch)
treebd4db5fd68505a0bb3afe94fc1e343cc9ef48ad8
parent6b285d3fd87cdb14d12d4d835bacd86283aa0b9e (diff)
downloadpttbbs-5a9ee439a653535e033702bae7c70443cfc01216.tar
pttbbs-5a9ee439a653535e033702bae7c70443cfc01216.tar.gz
pttbbs-5a9ee439a653535e033702bae7c70443cfc01216.tar.bz2
pttbbs-5a9ee439a653535e033702bae7c70443cfc01216.tar.lz
pttbbs-5a9ee439a653535e033702bae7c70443cfc01216.tar.xz
pttbbs-5a9ee439a653535e033702bae7c70443cfc01216.tar.zst
pttbbs-5a9ee439a653535e033702bae7c70443cfc01216.zip
fix 2341, compilation error
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2345 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/assess.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/assess.c b/mbbsd/assess.c
index ae5c43a2..ee89e436 100644
--- a/mbbsd/assess.c
+++ b/mbbsd/assess.c
@@ -18,8 +18,8 @@ inline static void inc(unsigned char *num, int n)
int inc_##_attr(char *userid, int num) \
{ \
int uid = getuser(userid);\
- if(uid>0 ){ \
- userinfo_t *uinfo = search_ulistn(uid); \
+ if( uid > 0 ){ \
+ userinfo_t *uinfo = search_ulist(uid); \
inc(&uinfo->_attr, num); \
inc(&xuser._attr, num); \
passwd_update(uid, &xuser); \