From afac870a2c220e4ccb54724ff4506c7255470010 Mon Sep 17 00:00:00 2001 From: Christophe Grenier Date: Wed, 11 Jun 2008 13:09:07 +0200 Subject: [PATCH] PhotoRec: recover Opera Hotlist .adr --- src/file_txt.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/file_txt.c b/src/file_txt.c index e72de3bb..54c56928 100644 --- a/src/file_txt.c +++ b/src/file_txt.c @@ -93,6 +93,7 @@ static const unsigned char header_xml[14] = "extension="msf"; return 1; } + /* Opera Hotlist bookmark/contact list/notes */ + if(memcmp(buffer, header_adr, sizeof(header_adr))==0) + { + reset_file_recovery(file_recovery_new); + file_recovery_new->data_check=&data_check_txt; + file_recovery_new->file_check=&file_check_size; + file_recovery_new->extension="adr"; + return 1; + } return 0; }