mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2025-08-04 05:01:22 +00:00
Fix the following bug:
The sender updates the checkpoint file even when the report is not successfully sent. git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@278 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
d55398a492
commit
cc6cd1ff37
|
@ -71,9 +71,9 @@ ReportResult CrashReportSender::SendCrashReport(
|
||||||
bool result = HTTPUpload::SendRequest(
|
bool result = HTTPUpload::SendRequest(
|
||||||
url, parameters, dump_file_name, L"upload_file_minidump", report_code,
|
url, parameters, dump_file_name, L"upload_file_minidump", report_code,
|
||||||
&http_response);
|
&http_response);
|
||||||
ReportSent(today);
|
|
||||||
|
|
||||||
if (result) {
|
if (result) {
|
||||||
|
ReportSent(today);
|
||||||
return RESULT_SUCCEEDED;
|
return RESULT_SUCCEEDED;
|
||||||
} else if (http_response == 400) { // TODO: update if/when the server
|
} else if (http_response == 400) { // TODO: update if/when the server
|
||||||
// switches to a different code
|
// switches to a different code
|
||||||
|
|
Loading…
Reference in a new issue