mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2024-11-24 08:25:49 +01:00
Fix symbol converter after PE-only MD refactor.
Change-Id: Ib6d3359f6a8ad7e0d2c2d6a4e92af37bc451db28 Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/1666353 Reviewed-by: Ivan Penkov <ivanpe@chromium.org>
This commit is contained in:
parent
315ab8a927
commit
ee65a3c005
@ -547,7 +547,7 @@ MSSymbolServerConverter::LocateAndConvertSymbolFile(
|
|||||||
|
|
||||||
AutoDeleter sym_deleter(*converted_symbol_file);
|
AutoDeleter sym_deleter(*converted_symbol_file);
|
||||||
|
|
||||||
bool success = writer.WriteMap(converted_output);
|
bool success = writer.WriteSymbols(converted_output);
|
||||||
fclose(converted_output);
|
fclose(converted_output);
|
||||||
|
|
||||||
if (!success) {
|
if (!success) {
|
||||||
|
@ -229,7 +229,7 @@ static bool UploadSymbolFile(const wstring &upload_symbol_url,
|
|||||||
files[L"symbol_file"] = converted_file_w;
|
files[L"symbol_file"] = converted_file_w;
|
||||||
|
|
||||||
FprintfFlush(stderr, "Uploading %s\n", converted_file.c_str());
|
FprintfFlush(stderr, "Uploading %s\n", converted_file.c_str());
|
||||||
if (!HTTPUpload::SendRequest(
|
if (!HTTPUpload::SendMultipartPostRequest(
|
||||||
upload_symbol_url, parameters,
|
upload_symbol_url, parameters,
|
||||||
files, NULL, NULL, NULL)) {
|
files, NULL, NULL, NULL)) {
|
||||||
FprintfFlush(stderr, "UploadSymbolFile: HTTPUpload::SendRequest failed "
|
FprintfFlush(stderr, "UploadSymbolFile: HTTPUpload::SendRequest failed "
|
||||||
|
Loading…
Reference in New Issue
Block a user