Issue 197: reviewed by Waylonis
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@201 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
7d8a79b3e9
commit
8597ff9fe1
1 changed files with 8 additions and 1 deletions
|
@ -185,9 +185,16 @@
|
|||
[req setHTTPBody:postBody];
|
||||
[req setHTTPMethod:@"POST"];
|
||||
|
||||
return [NSURLConnection sendSynchronousRequest:req
|
||||
[response_ release];
|
||||
response_ = nil;
|
||||
|
||||
NSData *data = [NSURLConnection sendSynchronousRequest:req
|
||||
returningResponse:&response_
|
||||
error:error];
|
||||
|
||||
[response_ retain];
|
||||
|
||||
return data;
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
|
|
Loading…
Reference in a new issue