summaryrefslogtreecommitdiffstats
path: root/src/file_txt.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2015-06-13 11:58:44 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2015-06-13 11:58:44 +0200
commit35ddcde3552812ec97bb39c9cfb3fe7a3eee5efd (patch)
tree4f76664e4b7bbc312c0e212509ec58b11d05c4fc /src/file_txt.c
parent1ebca60563ede40843a9d451ef78413f35587d39 (diff)
PhotoRec: Remove min_header_distance from file_hint_t structure (code cleanup)
Diffstat (limited to 'src/file_txt.c')
-rw-r--r--src/file_txt.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/file_txt.c b/src/file_txt.c
index 6c61c22..01fbae8 100644
--- a/src/file_txt.c
+++ b/src/file_txt.c
@@ -60,7 +60,6 @@ static int header_check_le16_txt(const unsigned char *buffer, const unsigned int
const file_hint_t file_hint_fasttxt= {
.extension="tx?",
.description="Text files with header: rtf,xml,xhtml,mbox/imm,pm,ram,reg,sh,slk,stp,jad,url",
- .min_header_distance=0,
.max_filesize=PHOTOREC_MAX_FILE_SIZE,
.recover=1,
.enable_by_default=1,
@@ -70,7 +69,6 @@ const file_hint_t file_hint_fasttxt= {
const file_hint_t file_hint_txt= {
.extension="txt",
.description="Other text files: txt,html,asp,bat,C,jsp,perl,php,py/emlx... scripts",
- .min_header_distance=0,
.max_filesize=PHOTOREC_MAX_FILE_SIZE,
.recover=1,
.enable_by_default=1,