diff options
Diffstat (limited to 'mbbsd/announce.c')
-rw-r--r-- | mbbsd/announce.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mbbsd/announce.c b/mbbsd/announce.c index 81944e9e..38648623 100644 --- a/mbbsd/announce.c +++ b/mbbsd/announce.c @@ -174,6 +174,7 @@ a_loadname(menu_t * pm) setadir(buf, pm->path); len = get_records(buf, pm->header, FHSZ, pm->page + 1, pm->header_size); // XXX if get_records() return -1 + assert(len!=-1); if (len < pm->header_size) bzero(&pm->header[len], FHSZ * (pm->header_size - len)); } |