summaryrefslogtreecommitdiffstats
path: root/mbbsd/edit.c
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-04-15 20:05:52 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-04-15 20:05:52 +0800
commit1a77a39f25006a3f73b36365220c3168c59f9fd2 (patch)
tree9c4fc1c9715dfeaad11cb8bcc159b6cf23e9c417 /mbbsd/edit.c
parent5894f7afe1f35469e766a3c3fd6f6b0ee806a31a (diff)
downloadpttbbs-1a77a39f25006a3f73b36365220c3168c59f9fd2.tar
pttbbs-1a77a39f25006a3f73b36365220c3168c59f9fd2.tar.gz
pttbbs-1a77a39f25006a3f73b36365220c3168c59f9fd2.tar.bz2
pttbbs-1a77a39f25006a3f73b36365220c3168c59f9fd2.tar.lz
pttbbs-1a77a39f25006a3f73b36365220c3168c59f9fd2.tar.xz
pttbbs-1a77a39f25006a3f73b36365220c3168c59f9fd2.tar.zst
pttbbs-1a77a39f25006a3f73b36365220c3168c59f9fd2.zip
MDCACHE
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@103 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/edit.c')
-rw-r--r--mbbsd/edit.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/mbbsd/edit.c b/mbbsd/edit.c
index 19f437af..0c722105 100644
--- a/mbbsd/edit.c
+++ b/mbbsd/edit.c
@@ -1,4 +1,4 @@
-/* $Id: edit.c,v 1.1 2002/03/07 15:13:48 in2 Exp $ */
+/* $Id: edit.c,v 1.2 2002/04/15 12:05:52 in2 Exp $ */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -1014,6 +1014,10 @@ write_file(char *fpath, int saveheader, int *islocal) {
}
fclose(fp);
+
+#ifdef MDCACHE
+ updatemdcache(NULL, fpath);
+#endif
if(local_article && (currstat == POSTING))
return 0;
return 0;