summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/proto.h1
-rw-r--r--mbbsd/voteboard.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/include/proto.h b/include/proto.h
index 63c146a2..42940cd5 100644
--- a/include/proto.h
+++ b/include/proto.h
@@ -269,6 +269,7 @@ int ticket(int bid);
/* gomo */
int gomoku(int fd);
+int getstyle(int x, int y, int color, int limit);
/* guess */
int guess_main();
diff --git a/mbbsd/voteboard.c b/mbbsd/voteboard.c
index eb38d9a4..897f68f9 100644
--- a/mbbsd/voteboard.c
+++ b/mbbsd/voteboard.c
@@ -62,7 +62,7 @@ do_voteboardreply(fileheader_t * fhdr)
if(yes>=0) continue;
strtok(genbuf+4," \n");
- if (!strncmp(genbuf + 4, cuser.userid, len)) {
+ if (!strncmp(genbuf + 4, cuser.userid, IDLEN)) {
move(5, 10);
prints("您已經連署過本篇了");
getdata(17, 0, "要修改您之前的連署嗎?(Y/N) [N]", opnion, 3, LCECHO);