diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-09-13 11:04:47 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-09-13 11:04:47 +0800 |
commit | ae3657affb7a17998fc20326f5d7ae9199bb3497 (patch) | |
tree | eeeec4550ac33efb59e8d12b3b14367f49568567 | |
parent | bc5748775fa3b282b9802a1d9017745aa811cd3f (diff) | |
download | pttbbs-ae3657affb7a17998fc20326f5d7ae9199bb3497.tar pttbbs-ae3657affb7a17998fc20326f5d7ae9199bb3497.tar.gz pttbbs-ae3657affb7a17998fc20326f5d7ae9199bb3497.tar.bz2 pttbbs-ae3657affb7a17998fc20326f5d7ae9199bb3497.tar.lz pttbbs-ae3657affb7a17998fc20326f5d7ae9199bb3497.tar.xz pttbbs-ae3657affb7a17998fc20326f5d7ae9199bb3497.tar.zst pttbbs-ae3657affb7a17998fc20326f5d7ae9199bb3497.zip |
touchdircache() after append_record()
suggested by lihgong@ptt2
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@1178 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | pttbbs/innbbsd/receive_article.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pttbbs/innbbsd/receive_article.c b/pttbbs/innbbsd/receive_article.c index 29790a96..f45fda75 100644 --- a/pttbbs/innbbsd/receive_article.c +++ b/pttbbs/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; } |