Issue 42 - check for non-existent dump file in HTTPUpload::SendRequest. r=bryner

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@186 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
ted.mielczarek 2007-06-01 11:47:28 +00:00
parent f68536ae50
commit 684649a571

View file

@ -140,8 +140,10 @@ bool HTTPUpload::SendRequest(const wstring &url,
-1, HTTP_ADDREQ_FLAG_ADD);
string request_body;
GenerateRequestBody(parameters, upload_file,
file_part_name, boundary, &request_body);
if (!GenerateRequestBody(parameters, upload_file,
file_part_name, boundary, &request_body)) {
return false;
}
if (!HttpSendRequest(request.get(), NULL, 0,
const_cast<char *>(request_body.data()),