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:
ladderbreaker 2007-08-16 20:20:50 +00:00
parent 7d8a79b3e9
commit 8597ff9fe1

View file

@ -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;
}
//=============================================================================