summaryrefslogtreecommitdiffstats
path: root/mbbsd/vote.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/vote.c')
-rw-r--r--mbbsd/vote.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/vote.c b/mbbsd/vote.c
index e354f1d4..cf52228f 100644
--- a/mbbsd/vote.c
+++ b/mbbsd/vote.c
@@ -327,10 +327,10 @@ b_result_one(vote_buffer_t *vbuf, boardheader_t * fh, int ind, int *total)
b_suckinfile(frp, b_newresults);
fclose(frp);
}
- snprintf(inbuf, sizeof(inbuf), "boards/%c/%s", bname[0], bname);
+ setbpath(inbuf, bname);
vote_report(bname, b_report, inbuf);
if (!(fh->brdattr & BRD_NOCOUNT)) {
- snprintf(inbuf, sizeof(inbuf), "boards/%c/%s", 'R', "Record");
+ setbpath(inbuf, "Record");
vote_report(bname, b_report, inbuf);
}
unlink(b_report);