summaryrefslogtreecommitdiffstats
path: root/mbbsd/brc.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/brc.c')
-rw-r--r--mbbsd/brc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mbbsd/brc.c b/mbbsd/brc.c
index da18c2a0..0d93169b 100644
--- a/mbbsd/brc.c
+++ b/mbbsd/brc.c
@@ -284,6 +284,7 @@ read_brc2(void)
*(brcbid_t*)cvt = bid; cvt += sizeof(brcbid_t);
*(brcnbrd_t*)cvt = num;cvt += sizeof(brcnbrd_t);
+
for (; num > 0; num--)
{
read(fd, &create, sizeof(create));
@@ -295,6 +296,7 @@ read_brc2(void)
close(fd);
// now cvthead is ready for v3.
+ sz3 = cvt - cvthead;
brc_get_buf(sz3);
brc_size = sz3;
memcpy(brc_buf, cvthead, sz3);