diff options
author | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-06-30 11:47:35 +0800 |
---|---|---|
committer | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-06-30 11:47:35 +0800 |
commit | 6dbecd52b8dcda635524cd0a6a29bf28774855b7 (patch) | |
tree | 81765877f5a613e9ab443d359e81c69a68ebca11 /util | |
parent | d3d1c8bfc3510358bd6fd06b5a907f319b41378f (diff) | |
download | pttbbs-6dbecd52b8dcda635524cd0a6a29bf28774855b7.tar pttbbs-6dbecd52b8dcda635524cd0a6a29bf28774855b7.tar.gz pttbbs-6dbecd52b8dcda635524cd0a6a29bf28774855b7.tar.bz2 pttbbs-6dbecd52b8dcda635524cd0a6a29bf28774855b7.tar.lz pttbbs-6dbecd52b8dcda635524cd0a6a29bf28774855b7.tar.xz pttbbs-6dbecd52b8dcda635524cd0a6a29bf28774855b7.tar.zst pttbbs-6dbecd52b8dcda635524cd0a6a29bf28774855b7.zip |
*** empty log message ***
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@387 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'util')
-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 d2f1a031..68fd0349 100644 --- a/util/toplazyBM.c +++ b/util/toplazyBM.c @@ -1,4 +1,4 @@ -/* $Id: toplazyBM.c,v 1.12 2002/06/30 02:33:19 ptt Exp $ */ +/* $Id: toplazyBM.c,v 1.13 2002/06/30 03:47:35 ptt Exp $ */ #include "bbs.h" #define OUTFILE BBSHOME "/etc/toplazyBM" #define FIREFILE BBSHOME "/etc/firelazyBM" @@ -128,7 +128,7 @@ int main(int argc, char *argv[]) } } strcpy(allbrd[i].BM, bmbuf); - if( substitute_record(FN_BOARD, &allbrd[i], + if( substitute_record(BBSHOME"/"FN_BOARD, &allbrd[i], sizeof(boardheader_t), i+1) == -1){ printf("Update Board Faile : %s\n", allbrd[i].brdname); } |