summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/proto.h10
-rw-r--r--mbbsd/bbs.c2
2 files changed, 6 insertions, 6 deletions
diff --git a/include/proto.h b/include/proto.h
index 2427bbae..36f8f59e 100644
--- a/include/proto.h
+++ b/include/proto.h
@@ -40,11 +40,11 @@ void initsetproctitle(int argc, char **argv, char **envp);
void setproctitle(const char* format, ...) GCC_CHECK_FORMAT(1,2);
/* assess */
-int inc_goodpost(int uid, int num);
-int inc_badpost(int uid, int num);
-int inc_goodsale(int uid, int num);
-int inc_badsale(int uid, int num);
-void set_assess(int uid, unsigned char num, int type);
+int inc_goodpost(char *, int num);
+int inc_badpost(char *, int num);
+int inc_goodsale(char *, int num);
+int inc_badsale(char *, int num);
+//void set_assess(int uid, unsigned char num, int type);
/* bbs */
int invalid_brdname(char *brd);
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index fcde90b4..f96c1ab4 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -1586,7 +1586,7 @@ recommend(int ent, fileheader_t * fhdr, char *direct)
#ifdef ASSESS
/* 每 10 次推文 加一次 goodpost */
if (type ==0 && (fhdr->filemode & FILE_MARKED) && fhdr->recommend % 10 == 0) {
- inc_goodpost(fdhr->owner, 1);
+ inc_goodpost(fhdr->owner, 1);
}
#endif
lastrecommend = now;