summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2010-10-24 22:45:20 +0800
committerwens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2010-10-24 22:45:20 +0800
commitd76d5277ab6587f3a5fcda5bf0b6c37de0cd1432 (patch)
treecf7c51c11df45a2031afe6544e8004f7e506d3c5
parent5bdb952d2229663838907d08c177603db3e34b62 (diff)
downloadpttbbs-d76d5277ab6587f3a5fcda5bf0b6c37de0cd1432.tar
pttbbs-d76d5277ab6587f3a5fcda5bf0b6c37de0cd1432.tar.gz
pttbbs-d76d5277ab6587f3a5fcda5bf0b6c37de0cd1432.tar.bz2
pttbbs-d76d5277ab6587f3a5fcda5bf0b6c37de0cd1432.tar.lz
pttbbs-d76d5277ab6587f3a5fcda5bf0b6c37de0cd1432.tar.xz
pttbbs-d76d5277ab6587f3a5fcda5bf0b6c37de0cd1432.tar.zst
pttbbs-d76d5277ab6587f3a5fcda5bf0b6c37de0cd1432.zip
Update for edit history (should use macro filename anyway)
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5163 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/util/expire.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pttbbs/util/expire.c b/pttbbs/util/expire.c
index 28a92d39..eb584a53 100644
--- a/pttbbs/util/expire.c
+++ b/pttbbs/util/expire.c
@@ -120,7 +120,7 @@ void expire(life_t *brd)
ftime = atoi(head.filename + 2);
if (head.owner[0] == '-'
#ifdef SAFE_ARTICLE_DELETE
- || strncmp(head.filename, ".delete", 7) == 0
+ || strncmp(head.filename, FN_SAFEDEL, sizeof(FN_SAFEDEL) - 1) == 0
#endif
)
keep = 0;