From f45194a66610e60b27d2bf86e571dc1e606ed820 Mon Sep 17 00:00:00 2001 From: in2 Date: Sat, 13 Sep 2003 03:04:47 +0000 Subject: touchdircache() after append_record() suggested by lihgong@ptt2 git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1178 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- innbbsd/receive_article.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/innbbsd/receive_article.c b/innbbsd/receive_article.c index 29790a96..f45fda75 100644 --- a/innbbsd/receive_article.c +++ b/innbbsd/receive_article.c @@ -873,8 +873,10 @@ char *pathname, *firstpath; append_record(index, &header, sizeof(header)); - if((bid = getbnum(board)) > 0) + if((bid = getbnum(board)) > 0){ touchbtotal(bid); + touchdircache(bid); + } return name; } -- cgit v1.2.3