fidentify: enable all file formats

This commit is contained in:
Christophe Grenier 2009-12-11 08:57:56 +01:00
parent 25cda512e4
commit e09d7251ba

View file

@ -163,14 +163,19 @@ int main(int argc, char **argv)
#endif #endif
my_time=time(NULL); my_time=time(NULL);
log_info("\n\n%s",ctime(&my_time)); log_info("\n\n%s",ctime(&my_time));
log_info("Command line: PhotoRec"); log_info("Command line: fidentify");
for(i=1;i<argc;i++) for(i=1;i<argc;i++)
log_info(" %s", argv[i]); log_info(" %s", argv[i]);
log_info("\n\n"); log_info("\n\n");
log_flush(); log_flush();
} }
log_info("fidentify %s, Data Recovery Utility, %s\nChristophe GRENIER <grenier@cgsecurity.org>\nhttp://www.cgsecurity.org\n", VERSION, TESTDISKDATE); log_info("fidentify %s, Data Recovery Utility, %s\nChristophe GRENIER <grenier@cgsecurity.org>\nhttp://www.cgsecurity.org\n", VERSION, TESTDISKDATE);
reset_list_file_enable(list_file_enable); {
/* Enable all file formats */
file_enable_t *file_enable;
for(file_enable=list_file_enable;file_enable->file_hint!=NULL;file_enable++)
file_enable->enable=1;
}
file_stats=init_file_stats(list_file_enable); file_stats=init_file_stats(list_file_enable);
if(argc>1) if(argc>1)
{ {