Fix crash due to invalid formatted logging message in MinidumpUpload.

This commit is contained in:
/dev/urandom 2016-08-29 08:01:04 +02:00
parent 1dca734e05
commit e4a1390f2e
No known key found for this signature in database
GPG Key ID: 41322B973E0F295E

View File

@ -343,7 +343,7 @@ namespace Components
auto partNum = offset / this->maxSegmentSize + 1;
extraPartHeaders.insert({ "Part", Utils::String::VA("%d", partNum) });
Logger::Print("Uploading minidump %s (part %d out of %d, %d bytes)...\n", partNum, totalParts, part.size());
Logger::Print("Uploading minidump %s (part %d out of %d, %d bytes)...\n", extraHeaders["ID"], partNum, totalParts, part.size());
BitMessage::Singleton->SendMsg(MinidumpUpload::targetAddress, MinidumpUpload::Encode(part, extraPartHeaders));
}