Switch to unified view
a/src/query/recollq.cpp | b/src/query/recollq.cpp | ||
---|---|---|---|
... |
... |
||
58 | << reason << endl; |
58 | << reason << endl; |
59 | return false; |
59 | return false; |
60 | } |
60 | } |
61 | } |
61 | } |
62 | wipedir(tmpdir); |
62 | wipedir(tmpdir); |
63 | FileInterner interner(fn, &st, rclconfig, tmpdir, &doc.mimetype);
|
63 | FileInterner interner(fn, &st, rclconfig, tmpdir, |
64 | FileInterner::FIF_forPreview, &doc.mimetype); |
||
64 | if (interner.internfile(doc, doc.ipath)) { |
65 | if (interner.internfile(doc, doc.ipath)) { |
65 | cout << doc.text << endl; |
66 | cout << doc.text << endl; |
66 | } else { |
67 | } else { |
67 | cout << "Cant intern: " << fn << endl; |
68 | cout << "Cant intern: " << fn << endl; |
68 | } |
69 | } |