diff options
author | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-06-29 22:36:24 +0800 |
---|---|---|
committer | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-06-29 22:36:24 +0800 |
commit | b2923aa97b77cc0cd558a2502e0fed9aa93d6a46 (patch) | |
tree | e7104c88894520f141fd1516ac873c35eb5d4eb7 /util/toplazyBM.c | |
parent | 721e4f869989ee886e5476295665737a0961a268 (diff) | |
download | pttbbs-b2923aa97b77cc0cd558a2502e0fed9aa93d6a46.tar pttbbs-b2923aa97b77cc0cd558a2502e0fed9aa93d6a46.tar.gz pttbbs-b2923aa97b77cc0cd558a2502e0fed9aa93d6a46.tar.bz2 pttbbs-b2923aa97b77cc0cd558a2502e0fed9aa93d6a46.tar.lz pttbbs-b2923aa97b77cc0cd558a2502e0fed9aa93d6a46.tar.xz pttbbs-b2923aa97b77cc0cd558a2502e0fed9aa93d6a46.tar.zst pttbbs-b2923aa97b77cc0cd558a2502e0fed9aa93d6a46.zip |
important error
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@378 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'util/toplazyBM.c')
-rw-r--r-- | util/toplazyBM.c | 4 |
1 files 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); |