Fixup: File::from_parser_result() gets module now as well

This commit is contained in:
Matthias Beyer 2015-12-02 11:48:49 +01:00
parent 9a0cc75c6f
commit 0796d0ab36
1 changed files with 1 additions and 1 deletions

View File

@ -181,7 +181,7 @@ impl StorageBackend {
fs.read_to_string(&mut s);
debug!("Success reading file with id '{}'", id);
debug!("Parsing to internal structure now");
p.read(s).and_then(|(h, d)| Ok(File::from_parser_result(id, h, d))).ok()
p.read(s).and_then(|(h, d)| Ok(File::from_parser_result(m, id.clone(), h, d))).ok()
} else {
debug!("No file with id '{}'", id);
None