From ee65a3c0055021b82091e0697f2182c8e900db47 Mon Sep 17 00:00:00 2001 From: Nelson Billing Date: Tue, 18 Jun 2019 16:20:58 -0700 Subject: [PATCH] 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 --- src/tools/windows/converter/ms_symbol_server_converter.cc | 2 +- src/tools/windows/converter_exe/converter.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tools/windows/converter/ms_symbol_server_converter.cc b/src/tools/windows/converter/ms_symbol_server_converter.cc index 71b77097..6cc67700 100644 --- a/src/tools/windows/converter/ms_symbol_server_converter.cc +++ b/src/tools/windows/converter/ms_symbol_server_converter.cc @@ -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) { diff --git a/src/tools/windows/converter_exe/converter.cc b/src/tools/windows/converter_exe/converter.cc index 23216f92..6c30b270 100644 --- a/src/tools/windows/converter_exe/converter.cc +++ b/src/tools/windows/converter_exe/converter.cc @@ -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 "