guidelines (auto-indended) IOSAD-124
authorbuff <andreas@pep-project.org>
Sun, 21 Jul 2019 19:14:47 +0200
branchIOSAD-124
changeset 1076a44678f3cf7b
parent 1075 34a6a20465e1
child 1077 cbad0128c701
guidelines (auto-indended)
pEpObjCAdapter/PEPInternalSession.m
     1.1 --- a/pEpObjCAdapter/PEPInternalSession.m	Sun Jul 21 19:13:51 2019 +0200
     1.2 +++ b/pEpObjCAdapter/PEPInternalSession.m	Sun Jul 21 19:14:47 2019 +0200
     1.3 @@ -300,7 +300,7 @@
     1.4  }
     1.5  
     1.6  - (PEPMessage * _Nullable)encryptMessage:(PEPMessage * _Nonnull)message
     1.7 -                                   extraKeys:(PEPStringList * _Nullable)extraKeys
     1.8 +                               extraKeys:(PEPStringList * _Nullable)extraKeys
     1.9                                 encFormat:(PEPEncFormat)encFormat
    1.10                                    status:(PEPStatus * _Nullable)status
    1.11                                     error:(NSError * _Nullable * _Nullable)error
    1.12 @@ -320,7 +320,7 @@
    1.13  }
    1.14  
    1.15  - (PEPMessage * _Nullable)encryptMessage:(PEPMessage * _Nonnull)message
    1.16 -                                   extraKeys:(PEPStringList * _Nullable)extraKeys
    1.17 +                               extraKeys:(PEPStringList * _Nullable)extraKeys
    1.18                                    status:(PEPStatus * _Nullable)status
    1.19                                     error:(NSError * _Nullable * _Nullable)error
    1.20  {
    1.21 @@ -737,9 +737,9 @@
    1.22  
    1.23  - (NSString * _Nullable)getTrustwordsFpr1:(NSString * _Nonnull)fpr1
    1.24                                       fpr2:(NSString * _Nonnull)fpr2
    1.25 -                                      language:(NSString * _Nullable)language
    1.26 -                                          full:(BOOL)full
    1.27 -                                         error:(NSError * _Nullable * _Nullable)error
    1.28 +                                 language:(NSString * _Nullable)language
    1.29 +                                     full:(BOOL)full
    1.30 +                                    error:(NSError * _Nullable * _Nullable)error
    1.31  {
    1.32      const char *_fpr1 = [fpr1 UTF8String]; // fprs are NFC normalized anyway
    1.33      const char *_fpr2 = [fpr2 UTF8String];
    1.34 @@ -750,8 +750,8 @@
    1.35      size_t sizeWritten = 0;
    1.36  
    1.37      status = (PEPStatus) get_trustwords_for_fprs(_session, _fpr1, _fpr2,
    1.38 -                                        [[language precomposedStringWithCanonicalMapping]
    1.39 -                                         UTF8String],
    1.40 +                                                 [[language precomposedStringWithCanonicalMapping]
    1.41 +                                                  UTF8String],
    1.42                                                   trustwords.charPointerPointer, &sizeWritten, full);
    1.43      
    1.44      NSString *result = nil;