summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-04-17 17:23:26 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-04-17 17:23:26 +0800
commit167c26cf38bebc8c0ce3efca5d8e26eff0b91432 (patch)
tree6b73292c327797a0f9e71b44cd19fffd6ea0b40e /mbbsd
parent31fbb20a65e289952f077114815c98701c75707f (diff)
downloadpttbbs-167c26cf38bebc8c0ce3efca5d8e26eff0b91432.tar
pttbbs-167c26cf38bebc8c0ce3efca5d8e26eff0b91432.tar.gz
pttbbs-167c26cf38bebc8c0ce3efca5d8e26eff0b91432.tar.bz2
pttbbs-167c26cf38bebc8c0ce3efca5d8e26eff0b91432.tar.lz
pttbbs-167c26cf38bebc8c0ce3efca5d8e26eff0b91432.tar.xz
pttbbs-167c26cf38bebc8c0ce3efca5d8e26eff0b91432.tar.zst
pttbbs-167c26cf38bebc8c0ce3efca5d8e26eff0b91432.zip
fix bug(MDCACHE)
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@121 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/voteboard.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/voteboard.c b/mbbsd/voteboard.c
index 5c79fe46..53034692 100644
--- a/mbbsd/voteboard.c
+++ b/mbbsd/voteboard.c
@@ -1,4 +1,4 @@
-/* $Id: voteboard.c,v 1.2 2002/04/16 15:27:27 in2 Exp $ */
+/* $Id: voteboard.c,v 1.3 2002/04/17 09:23:26 in2 Exp $ */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -190,7 +190,7 @@ void do_voteboardreply(fileheader_t *fhdr){
unlink(oldfpath);
rename(fpath, oldfpath);
#ifdef MDCACHE
- close(updatemdcache(NULL, fpath));
+ close(updatemdcache(NULL, oldfpath));
#endif
}