diff options
author | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-09-09 17:18:44 +0800 |
---|---|---|
committer | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-09-09 17:18:44 +0800 |
commit | 83191c06b40c522464f7021cb25cc2367375f1ce (patch) | |
tree | edf64932f25bda8a409a217c1a4487d9af7ed47e /mbbsd/announce.c | |
parent | bb00ae154f1cfc4672aa807926c19b0b5e64d8ea (diff) | |
download | pttbbs-83191c06b40c522464f7021cb25cc2367375f1ce.tar pttbbs-83191c06b40c522464f7021cb25cc2367375f1ce.tar.gz pttbbs-83191c06b40c522464f7021cb25cc2367375f1ce.tar.bz2 pttbbs-83191c06b40c522464f7021cb25cc2367375f1ce.tar.lz pttbbs-83191c06b40c522464f7021cb25cc2367375f1ce.tar.xz pttbbs-83191c06b40c522464f7021cb25cc2367375f1ce.tar.zst pttbbs-83191c06b40c522464f7021cb25cc2367375f1ce.zip |
comments warn the bad code without error handling.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3145 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/announce.c')
-rw-r--r-- | mbbsd/announce.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/announce.c b/mbbsd/announce.c index 99ff6585..632792d4 100644 --- a/mbbsd/announce.c +++ b/mbbsd/announce.c @@ -173,7 +173,7 @@ a_loadname(menu_t * pm) } setadir(buf, pm->path); - len = get_records(buf, pm->header, FHSZ, pm->page + 1, pm->header_size); + len = get_records(buf, pm->header, FHSZ, pm->page + 1, pm->header_size); // XXX if get_records() return -1 if (len < pm->header_size) bzero(&pm->header[len], FHSZ * (pm->header_size - len)); } |