summaryrefslogtreecommitdiffstats
path: root/innbbsd/receive_article.c
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-09-13 11:04:47 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-09-13 11:04:47 +0800
commitf45194a66610e60b27d2bf86e571dc1e606ed820 (patch)
tree37d6016af19a600ec52cad7224006876e466f36b /innbbsd/receive_article.c
parent04d7d939d521b585369ff7cb072a1f4e71849e9d (diff)
downloadpttbbs-f45194a66610e60b27d2bf86e571dc1e606ed820.tar
pttbbs-f45194a66610e60b27d2bf86e571dc1e606ed820.tar.gz
pttbbs-f45194a66610e60b27d2bf86e571dc1e606ed820.tar.bz2
pttbbs-f45194a66610e60b27d2bf86e571dc1e606ed820.tar.lz
pttbbs-f45194a66610e60b27d2bf86e571dc1e606ed820.tar.xz
pttbbs-f45194a66610e60b27d2bf86e571dc1e606ed820.tar.zst
pttbbs-f45194a66610e60b27d2bf86e571dc1e606ed820.zip
touchdircache() after append_record()
suggested by lihgong@ptt2 git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1178 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'innbbsd/receive_article.c')
-rw-r--r--innbbsd/receive_article.c4
1 files changed, 3 insertions, 1 deletions
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;
}