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:
Nelson Billing 2019-06-18 16:20:58 -07:00
parent 315ab8a927
commit ee65a3c005
2 changed files with 2 additions and 2 deletions

View File

@ -547,7 +547,7 @@ MSSymbolServerConverter::LocateAndConvertSymbolFile(
AutoDeleter sym_deleter(*converted_symbol_file);
bool success = writer.WriteMap(converted_output);
bool success = writer.WriteSymbols(converted_output);
fclose(converted_output);
if (!success) {

View File

@ -229,7 +229,7 @@ static bool UploadSymbolFile(const wstring &upload_symbol_url,
files[L"symbol_file"] = converted_file_w;
FprintfFlush(stderr, "Uploading %s\n", converted_file.c_str());
if (!HTTPUpload::SendRequest(
if (!HTTPUpload::SendMultipartPostRequest(
upload_symbol_url, parameters,
files, NULL, NULL, NULL)) {
FprintfFlush(stderr, "UploadSymbolFile: HTTPUpload::SendRequest failed "