From 7ceba947212b6709adac7395a29d39376c50c9a4 Mon Sep 17 00:00:00 2001 From: Andrew McGeachie Date: Wed, 19 May 2010 15:00:26 +0000 Subject: [PATCH] THRIFT-733. Don't use scripting bridge extension's className method because it's not available on iPhone. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@946208 13f79535-47bb-0310-9956-ffa450edef68 --- lib/cocoa/src/transport/THTTPClient.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cocoa/src/transport/THTTPClient.m b/lib/cocoa/src/transport/THTTPClient.m index 6711a0a3..1eaa859b 100644 --- a/lib/cocoa/src/transport/THTTPClient.m +++ b/lib/cocoa/src/transport/THTTPClient.m @@ -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; -- 2.17.1