Allows the caller of CrashReportSender::SendCrashReport() to determine that

the server rejected a crash report, by changing the return value from a
boolean to a tri-state enum.

Fixes issue #101.  Reviewed by mmentovai.



git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@99 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
incrementalist 2007-01-03 23:14:46 +00:00
parent 5ac2b9a569
commit d4e527b7ee
5 changed files with 48 additions and 16 deletions

View file

@ -182,7 +182,8 @@ int wmain(int argc, wchar_t *argv[]) {
}
bool success = HTTPUpload::SendRequest(url, parameters,
symbol_file, L"symbol_file", NULL);
symbol_file, L"symbol_file",
NULL, NULL);
_wunlink(symbol_file.c_str());
if (!success) {