From 10d9931212b7fa65cb062bbd9ec8714877b651ce Mon Sep 17 00:00:00 2001 From: in2 Date: Thu, 4 Dec 2003 10:52:45 +0000 Subject: warning free git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1395 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/voteboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mbbsd') 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); -- cgit v1.2.3