clang-format

pull/16213/head
Muxi Yan 6 years ago
parent 4e294d2aa3
commit 8a8f33928f
  1. 4
      src/objective-c/GRPCClient/GRPCCall.m

@ -230,7 +230,6 @@ static NSString *const kBearerPrefix = @"Bearer ";
errorWithDomain:kGRPCErrorDomain
code:GRPCErrorCodeCancelled
userInfo:@{NSLocalizedDescriptionKey : @"Canceled by app"}]];
}
- (void)maybeFinishWithError:(NSError *)errorOrNil {
@ -534,7 +533,8 @@ static NSString *const kBearerPrefix = @"Bearer ";
__strong GRPCCall *strongSelf = self;
if (strongSelf) {
[self cancelCall];
[self maybeFinishWithError:[NSError errorWithDomain:kGRPCErrorDomain
[self
maybeFinishWithError:[NSError errorWithDomain:kGRPCErrorDomain
code:GRPCErrorCodeUnavailable
userInfo:@{
NSLocalizedDescriptionKey : @"Connectivity lost."

Loading…
Cancel
Save