From 90451291f8f509d0f0e3f1c442bb3325de30d9b0 Mon Sep 17 00:00:00 2001 From: in2 Date: Sat, 9 Mar 2002 17:29:36 +0000 Subject: boards// git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@15 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/vote.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mbbsd/vote.c') diff --git a/mbbsd/vote.c b/mbbsd/vote.c index 62916c99..b16857ce 100644 --- a/mbbsd/vote.c +++ b/mbbsd/vote.c @@ -1,4 +1,4 @@ -/* $Id: vote.c,v 1.1 2002/03/07 15:13:48 in2 Exp $ */ +/* $Id: vote.c,v 1.2 2002/03/09 17:27:57 in2 Exp $ */ #include #include #include @@ -281,10 +281,10 @@ static void b_result_one(boardheader_t *fh, int ind) { b_suckinfile(frp, b_newresults); fclose(frp); } - sprintf(inbuf, "boards/%s", bname); + sprintf(inbuf, "boards/%c/%s", bname[0], bname); vote_report(bname, b_report, inbuf); if(!(fh->brdattr &BRD_NOCOUNT)) { - sprintf(inbuf, "boards/%s", "Record"); + sprintf(inbuf, "boards/%c/%s", 'R', "Record"); vote_report(bname, b_report, inbuf); } unlink(b_report); -- cgit v1.2.3