From 175ba7e7cf70d131d34fd8c09a3138e7f9dfeea0 Mon Sep 17 00:00:00 2001 From: in2 Date: Wed, 6 Nov 2002 12:07:59 +0000 Subject: fix bug git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@557 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- util/expire.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util/expire.c b/util/expire.c index dc75a03a..50c568da 100644 --- a/util/expire.c +++ b/util/expire.c @@ -1,4 +1,4 @@ -/* $Id: expire.c,v 1.4 2002/06/06 21:34:14 in2 Exp $ */ +/* $Id: expire.c,v 1.5 2002/11/06 12:07:59 in2 Exp $ */ /* 自動砍信工具程式 */ #include "bbs.h" @@ -199,7 +199,7 @@ char *argv[]; sprintf(bpath, BBSHOME "/boards/%c", dirs[i]); if (!(dirp = opendir(bpath))){ printf(":Err: unable to open %s\n", bpath); - //return -1; + continue; } while((de = readdir(dirp))){ ptr = de->d_name; -- cgit v1.2.3