Commit 94824e68 authored by David COME's avatar David COME
Browse files

Fixed RecallReportPacker::flush

Recalled files are now logged and the list of reports is cleaned-up after reporting the statuses to the client
parent 81456978
......@@ -80,8 +80,12 @@ void RecallReportPacker::flush(){
unsigned int totalSize = m_listReports->failedRecalls().size() +
if(totalSize > 0){
logReport(m_listReports->failedRecalls(),"A file failed to be recalled");
logReport(m_listReports->successfulRecalls(),"A file was successfully recalled");
ClientInterface::RequestReport chrono;
m_listReports.reset(new FileReportList);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment