aboutsummaryrefslogtreecommitdiff
path: root/src/client/windows
diff options
context:
space:
mode:
authordoshimun <doshimun@4c0a9323-5329-0410-9bdc-e9ce6186880e>2008-06-05 20:59:35 +0000
committerdoshimun <doshimun@4c0a9323-5329-0410-9bdc-e9ce6186880e>2008-06-05 20:59:35 +0000
commitcc6cd1ff372e604cb3802f7ac9b1ec98288d4bb2 (patch)
tree2591e7393707fae28fcb0d6b1aa1c918dccc0572 /src/client/windows
parentFilter out duplicates from the image list when creating a minidump. See issu... (diff)
downloadbreakpad-cc6cd1ff372e604cb3802f7ac9b1ec98288d4bb2.tar.xz
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
Diffstat (limited to 'src/client/windows')
-rw-r--r--src/client/windows/sender/crash_report_sender.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/windows/sender/crash_report_sender.cc b/src/client/windows/sender/crash_report_sender.cc
index 1b2e3107..7672acfd 100644
--- a/src/client/windows/sender/crash_report_sender.cc
+++ b/src/client/windows/sender/crash_report_sender.cc
@@ -71,9 +71,9 @@ ReportResult CrashReportSender::SendCrashReport(
bool result = HTTPUpload::SendRequest(
url, parameters, dump_file_name, L"upload_file_minidump", report_code,
&http_response);
- ReportSent(today);
if (result) {
+ ReportSent(today);
return RESULT_SUCCEEDED;
} else if (http_response == 400) { // TODO: update if/when the server
// switches to a different code