From b2923aa97b77cc0cd558a2502e0fed9aa93d6a46 Mon Sep 17 00:00:00 2001 From: ptt Date: Sat, 29 Jun 2002 14:36:24 +0000 Subject: important error git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@378 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- util/toplazyBM.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util/toplazyBM.c b/util/toplazyBM.c index b55d6a26..25252870 100644 --- a/util/toplazyBM.c +++ b/util/toplazyBM.c @@ -1,4 +1,4 @@ -/* $Id: toplazyBM.c,v 1.6 2002/06/29 13:50:46 ptt Exp $ */ +/* $Id: toplazyBM.c,v 1.7 2002/06/29 14:36:24 ptt Exp $ */ #include "bbs.h" @@ -132,7 +132,7 @@ int main(int argc, char *argv[]) } strcpy(allbrd[i].BM, bmbuf); - if( substitute_record(FN_BOARD, &allbrd[i], sizeof(boardheader_t), i) == -1){ + if( substitute_record(FN_BOARD, &allbrd[i], sizeof(boardheader_t), i+1) == -1){ printf("Update Board Faile : %s\n", allbrd[i].brdname); } reset_board(i); -- cgit v1.2.3