diff options
author | nealsid <nealsid@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2010-09-16 23:06:43 +0000 |
---|---|---|
committer | nealsid <nealsid@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2010-09-16 23:06:43 +0000 |
commit | 4b7f1eba6463cf74230a8b665326736e71f38f9f (patch) | |
tree | 5ff51586ba63e1c696a38f313d586221a054ea59 /src/client/windows/sender | |
parent | Fix compilation of file_id_unittest. (diff) | |
download | breakpad-4b7f1eba6463cf74230a8b665326736e71f38f9f.tar.xz |
Actually treat fatal error codes as fatal
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@690 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/client/windows/sender')
-rw-r--r-- | src/client/windows/sender/crash_report_sender.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/client/windows/sender/crash_report_sender.cc b/src/client/windows/sender/crash_report_sender.cc index 3d16ef21..ecf626d8 100644 --- a/src/client/windows/sender/crash_report_sender.cc +++ b/src/client/windows/sender/crash_report_sender.cc @@ -75,8 +75,7 @@ ReportResult CrashReportSender::SendCrashReport( if (result) { ReportSent(today); return RESULT_SUCCEEDED; - } else if (http_response == 400) { // TODO: update if/when the server - // switches to a different code + } else if (http_response >= 400 && http_response < 500) { return RESULT_REJECTED; } else { return RESULT_FAILED; |