From edc9c611b076c5c0859c7af70bff35919c839af0 Mon Sep 17 00:00:00 2001
From: piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>
Date: Tue, 11 Dec 2012 11:20:15 +0000
Subject: 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
---
 pttbbs/mbbsd/record.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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.
-- 
cgit v1.2.3