From 75a64723a3c609f291453b38e094271addd4d448 Mon Sep 17 00:00:00 2001 From: Jeremy Magland Date: Wed, 7 Dec 2016 17:52:40 -0500 Subject: [PATCH] original_fcs was missing --- mountainprocess/src/scriptcontroller2.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/mountainprocess/src/scriptcontroller2.cpp b/mountainprocess/src/scriptcontroller2.cpp index ac08987a..7f4c5d6e 100644 --- a/mountainprocess/src/scriptcontroller2.cpp +++ b/mountainprocess/src/scriptcontroller2.cpp @@ -329,6 +329,7 @@ QJsonObject make_prv_object_2(QString path) QJsonObject obj; obj["original_path"] = path; obj["original_checksum"] = MLUtil::computeSha1SumOfFile(path); + obj["original_fcs"] = "head1000-"+MLUtil::computeSha1SumOfFileHead(path,1000); obj["original_size"] = QFileInfo(path).size(); return obj; }