From cc8039cccc2c5f3b35530b739db9c09245763b83 Mon Sep 17 00:00:00 2001 From: ptt Date: Sat, 29 Jun 2002 14:42:14 +0000 Subject: bid errpr git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@380 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- util/toplazyBM.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'util/toplazyBM.c') diff --git a/util/toplazyBM.c b/util/toplazyBM.c index 5a23abcb..cf277ef8 100644 --- a/util/toplazyBM.c +++ b/util/toplazyBM.c @@ -1,4 +1,4 @@ -/* $Id: toplazyBM.c,v 1.8 2002/06/29 14:39:09 ptt Exp $ */ +/* $Id: toplazyBM.c,v 1.9 2002/06/29 14:42:14 ptt Exp $ */ #include "bbs.h" @@ -88,7 +88,7 @@ int main(int argc, char *argv[]) char *p, bmbuf[IDLEN * 3 + 3]; int index = 0, flag = 0, k, n; p=strtok(allbrd[i].BM,"/ "); - if(p) + if(p && p[0]) do { if(allbrd[i].brdname[0] == '\0') continue; -- cgit v1.2.3