You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by ge...@apache.org on 2010/05/19 17:00:26 UTC
svn commit: r946208 -
/incubator/thrift/trunk/lib/cocoa/src/transport/THTTPClient.m
Author: geechorama
Date: Wed May 19 15:00:26 2010
New Revision: 946208
URL: http://svn.apache.org/viewvc?rev=946208&view=rev
Log:
THRIFT-733. Don't use scripting bridge extension's className method because it's not available on iPhone.
Modified:
incubator/thrift/trunk/lib/cocoa/src/transport/THTTPClient.m
Modified: incubator/thrift/trunk/lib/cocoa/src/transport/THTTPClient.m
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/cocoa/src/transport/THTTPClient.m?rev=946208&r1=946207&r2=946208&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/cocoa/src/transport/THTTPClient.m (original)
+++ incubator/thrift/trunk/lib/cocoa/src/transport/THTTPClient.m Wed May 19 15:00:26 2010
@@ -140,7 +140,7 @@
if (![response isKindOfClass: [NSHTTPURLResponse class]]) {
@throw [TTransportException exceptionWithName: @"TTransportException"
reason: [NSString stringWithFormat: @"Unexpected NSURLResponse type: %@",
- [response className]]];
+ NSStringFromClass([response class])]];
}
NSHTTPURLResponse * httpResponse = (NSHTTPURLResponse *) response;