added explicit flag parameter to Internfile constructeur for helping with beagle queue integration

This commit is contained in:
dockes 2009-11-10 17:30:34 +00:00
parent 7eee2c5ed6
commit 7df2fe2957

View File

@ -60,7 +60,8 @@ bool dump_contents(RclConfig *rclconfig, string& tmpdir, Rcl::Doc& doc)
} }
} }
wipedir(tmpdir); wipedir(tmpdir);
FileInterner interner(fn, &st, rclconfig, tmpdir, &doc.mimetype); FileInterner interner(fn, &st, rclconfig, tmpdir,
FileInterner::FIF_forPreview, &doc.mimetype);
if (interner.internfile(doc, doc.ipath)) { if (interner.internfile(doc, doc.ipath)) {
cout << doc.text << endl; cout << doc.text << endl;
} else { } else {