summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/record.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mbbsd/record.c b/mbbsd/record.c
index 5e3a4ebe..ec3be179 100644
--- a/mbbsd/record.c
+++ b/mbbsd/record.c
@@ -430,6 +430,8 @@ safe_article_delete_range(char *direct, int from, int to)
for( ; from <= to ; ++from ){
read(fd, &newfhdr, sizeof(fileheader_t));
+ if( newfhdr.filemode & (FILE_MARKED | FILE_DIGEST) )
+ continue;
strlcpy(ptr, newfhdr.filename, sizeof(newfhdr.filename));
unlink(fn);