summaryrefslogtreecommitdiffstats
path: root/mbbsd/edit.c
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-04-16 23:27:40 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-04-16 23:27:40 +0800
commit360869ccb2c85cd0564811c0280d0760ca532950 (patch)
treedc59f35131633f1b6cef42d34e7485ad8f7b9a72 /mbbsd/edit.c
parent634988a554c0bb485c863608fba9cc4df26fcd71 (diff)
downloadpttbbs-360869ccb2c85cd0564811c0280d0760ca532950.tar
pttbbs-360869ccb2c85cd0564811c0280d0760ca532950.tar.gz
pttbbs-360869ccb2c85cd0564811c0280d0760ca532950.tar.bz2
pttbbs-360869ccb2c85cd0564811c0280d0760ca532950.tar.lz
pttbbs-360869ccb2c85cd0564811c0280d0760ca532950.tar.xz
pttbbs-360869ccb2c85cd0564811c0280d0760ca532950.tar.zst
pttbbs-360869ccb2c85cd0564811c0280d0760ca532950.zip
fix bug (MDCACHE)
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@118 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/edit.c')
-rw-r--r--mbbsd/edit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/edit.c b/mbbsd/edit.c
index 0c722105..8072de6d 100644
--- a/mbbsd/edit.c
+++ b/mbbsd/edit.c
@@ -1,4 +1,4 @@
-/* $Id: edit.c,v 1.2 2002/04/15 12:05:52 in2 Exp $ */
+/* $Id: edit.c,v 1.3 2002/04/16 15:27:40 in2 Exp $ */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -1016,7 +1016,7 @@ write_file(char *fpath, int saveheader, int *islocal) {
fclose(fp);
#ifdef MDCACHE
- updatemdcache(NULL, fpath);
+ close(updatemdcache(NULL, fpath));
#endif
if(local_article && (currstat == POSTING))
return 0;