summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2012-12-11 19:20:15 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2012-12-11 19:20:15 +0800
commitedc9c611b076c5c0859c7af70bff35919c839af0 (patch)
treec2bd86be5e460f9500c18651f242da3f672781e3
parentf3c6ee00f4a906802e3c4dd56aeb7276441990f8 (diff)
downloadpttbbs-edc9c611b076c5c0859c7af70bff35919c839af0.tar
pttbbs-edc9c611b076c5c0859c7af70bff35919c839af0.tar.gz
pttbbs-edc9c611b076c5c0859c7af70bff35919c839af0.tar.bz2
pttbbs-edc9c611b076c5c0859c7af70bff35919c839af0.tar.lz
pttbbs-edc9c611b076c5c0859c7af70bff35919c839af0.tar.xz
pttbbs-edc9c611b076c5c0859c7af70bff35919c839af0.tar.zst
pttbbs-edc9c611b076c5c0859c7af70bff35919c839af0.zip
For records without valid files, we should simply assume it's already deleted.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5731 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/mbbsd/record.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pttbbs/mbbsd/record.c b/pttbbs/mbbsd/record.c
index 4b34a060..ad0b2851 100644
--- a/pttbbs/mbbsd/record.c
+++ b/pttbbs/mbbsd/record.c
@@ -368,7 +368,7 @@ delete_file_content2(const char *direct, const fileheader_t *fh,
// solve source file name
setdirpath(fpath, direct, fh->filename);
if (!dashf(fpath))
- return DELETE_FILE_CONTENT_FAILED;
+ return DELETE_FILE_CONTENT_BACKUP_FAILED;
// FIXME some announcements were made by sym-links, especial for those
// in mail. we should ignore them.