From 3ee1fefeace54c0424dcd3b15079502081b5d2a8 Mon Sep 17 00:00:00 2001 From: Mattt Thompson Date: Mon, 30 Apr 2012 10:49:00 -0700 Subject: [PATCH] Minor formatting --- AFNetworking/AFHTTPRequestOperation.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/AFNetworking/AFHTTPRequestOperation.m b/AFNetworking/AFHTTPRequestOperation.m index 3c3b75e..2204c56 100644 --- a/AFNetworking/AFHTTPRequestOperation.m +++ b/AFNetworking/AFHTTPRequestOperation.m @@ -56,8 +56,9 @@ NSSet * AFContentTypesFromHTTPHeader(NSString *string) { static void AFSwizzleClassMethodWithImplementation(Class klass, SEL selector, IMP implementation) { Method originalMethod = class_getClassMethod(klass, selector); - if (method_getImplementation(originalMethod) != implementation) + if (method_getImplementation(originalMethod) != implementation) { class_replaceMethod(objc_getMetaClass([NSStringFromClass(klass) UTF8String]), selector, implementation, method_getTypeEncoding(originalMethod)); + } } static NSString * AFStringFromIndexSet(NSIndexSet *indexSet) {