mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2025-02-02 05:01:09 +00:00
Fix compile bustage from issue 221
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@231 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
299c816021
commit
f0a07749af
|
@ -59,19 +59,20 @@ static void Start(Options *options) {
|
||||||
parameters["ver"] = options->version;
|
parameters["ver"] = options->version;
|
||||||
|
|
||||||
// Send it
|
// Send it
|
||||||
std::string response;
|
std::string response, error;
|
||||||
bool success = HTTPUpload::SendRequest(options->uploadURLStr,
|
bool success = HTTPUpload::SendRequest(options->uploadURLStr,
|
||||||
parameters,
|
parameters,
|
||||||
options->minidumpPath,
|
options->minidumpPath,
|
||||||
"upload_file_minidump",
|
"upload_file_minidump",
|
||||||
options->proxy,
|
options->proxy,
|
||||||
options->proxy_user_pwd,
|
options->proxy_user_pwd,
|
||||||
&response);
|
&response,
|
||||||
|
&error);
|
||||||
|
|
||||||
if (success) {
|
if (success) {
|
||||||
printf("Successfully sent the minidump file.\n");
|
printf("Successfully sent the minidump file.\n");
|
||||||
} else {
|
} else {
|
||||||
printf("Failed to send minidump\n");
|
printf("Failed to send minidump: %s\n", error.c_str());
|
||||||
printf("Response:\n");
|
printf("Response:\n");
|
||||||
printf("%s\n", response.c_str());
|
printf("%s\n", response.c_str());
|
||||||
}
|
}
|
||||||
|
|
|
@ -137,19 +137,20 @@ static void Start(Options *options) {
|
||||||
parameters["debug_file"] = module_parts[4];
|
parameters["debug_file"] = module_parts[4];
|
||||||
parameters["code_file"] = module_parts[4];
|
parameters["code_file"] = module_parts[4];
|
||||||
parameters["debug_identifier"] = compacted_id;
|
parameters["debug_identifier"] = compacted_id;
|
||||||
std::string response;
|
std::string response, error;
|
||||||
bool success = HTTPUpload::SendRequest(options->uploadURLStr,
|
bool success = HTTPUpload::SendRequest(options->uploadURLStr,
|
||||||
parameters,
|
parameters,
|
||||||
options->symbolsPath,
|
options->symbolsPath,
|
||||||
"symbol_file",
|
"symbol_file",
|
||||||
options->proxy,
|
options->proxy,
|
||||||
options->proxy_user_pwd,
|
options->proxy_user_pwd,
|
||||||
&response);
|
&response,
|
||||||
|
&error);
|
||||||
|
|
||||||
if (success) {
|
if (success) {
|
||||||
printf("Successfully sent the symbol file.\n");
|
printf("Successfully sent the symbol file.\n");
|
||||||
} else {
|
} else {
|
||||||
printf("Failed to send symbol file.\n");
|
printf("Failed to send symbol file: %s\n", error.c_str());
|
||||||
printf("Response:\n");
|
printf("Response:\n");
|
||||||
printf("%s\n", response.c_str());
|
printf("%s\n", response.c_str());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue