Browse Source

Typo fix: https://github.com/AFNetworking/AFNetworking/pull/2564/files#r25612538

Phil Tang 10 năm trước cách đây
mục cha
commit
c0391a8ca1
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      AFNetworking/AFURLSessionManager.m

+ 1 - 1
AFNetworking/AFURLSessionManager.m

@@ -273,7 +273,7 @@ static inline void af_swizzleSelector(Class class, SEL originalSelector, SEL swi
 }
 
 static inline void af_addMethod(Class class, SEL selector, Method method) {
-    class_addMethod(class, @selector(af_resume),  method_getImplementation(method),  method_getTypeEncoding(method));
+    class_addMethod(class, selector,  method_getImplementation(method),  method_getTypeEncoding(method));
 }
 
 static NSString * const AFNSURLSessionTaskDidResumeNotification  = @"com.alamofire.networking.nsurlsessiontask.resume";