summaryrefslogtreecommitdiffstats
path: root/util/toplazyBM.c
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-06-29 21:50:46 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-06-29 21:50:46 +0800
commit4c2c59e33a17407453b34493ccd0e3fd7a6f4da6 (patch)
tree3a810bdc0f007d6f759ef140c056a68d321aada6 /util/toplazyBM.c
parent6a118d17eed23598f46a293e96831f94a768811e (diff)
downloadpttbbs-4c2c59e33a17407453b34493ccd0e3fd7a6f4da6.tar
pttbbs-4c2c59e33a17407453b34493ccd0e3fd7a6f4da6.tar.gz
pttbbs-4c2c59e33a17407453b34493ccd0e3fd7a6f4da6.tar.bz2
pttbbs-4c2c59e33a17407453b34493ccd0e3fd7a6f4da6.tar.lz
pttbbs-4c2c59e33a17407453b34493ccd0e3fd7a6f4da6.tar.xz
pttbbs-4c2c59e33a17407453b34493ccd0e3fd7a6f4da6.tar.zst
pttbbs-4c2c59e33a17407453b34493ccd0e3fd7a6f4da6.zip
try toplazyBM
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@375 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'util/toplazyBM.c')
-rw-r--r--util/toplazyBM.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/toplazyBM.c b/util/toplazyBM.c
index a2a34b94..b55d6a26 100644
--- a/util/toplazyBM.c
+++ b/util/toplazyBM.c
@@ -1,4 +1,4 @@
-/* $Id: toplazyBM.c,v 1.5 2002/06/19 13:38:01 lwms Exp $ */
+/* $Id: toplazyBM.c,v 1.6 2002/06/29 13:50:46 ptt Exp $ */
#include "bbs.h"
@@ -22,7 +22,7 @@ typedef struct BMarray{
char *bmname;
int flag;
} BMArray;
-BMArray bms[3];
+BMArray bms[5];
int bmlostdays_cmp(const void *va, const void *vb)
@@ -118,7 +118,7 @@ int main(int argc, char *argv[])
j++;
}
index++;
- } while((p=strtok(NULL,"/ "))!=NULL);
+ } while((p=strtok(NULL,"/ "))!=NULL && index<5);
if(flag == 1){
//boardheader_t *fhp = 0;