aboutsummaryrefslogtreecommitdiff
path: root/src/client/windows/sender
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/windows/sender')
-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