Skip to content
Snippets Groups Projects
Commit 83490f77 authored by Eric Cano's avatar Eric Cano
Browse files

Fixed formatting of checksum in TapeWriteTask

parent 6ae90462
No related branches found
No related tags found
No related merge requests found
......@@ -130,7 +130,7 @@ namespace daemon {
m_archiveJob->tapeFile.checksumType = "ADLER32";
{
std::stringstream cs;
cs << std::hex << std::showbase << std::uppercase << std::setfill('0') << std::setw(8) << (uint32_t)ckSum;
cs << "0X" << std::hex << std::noshowbase << std::uppercase << std::setfill('0') << std::setw(8) << (uint32_t)ckSum;
m_archiveJob->tapeFile.checksumValue = cs.str();
}
m_archiveJob->tapeFile.compressedSize = m_taskStats.dataVolume;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment