IOSAD-172 Fix discrepancy with .h IOSAD-172
authorDirk Zimmermann <dz@pep.security>
Sat, 27 Jun 2020 15:51:21 +0200
branchIOSAD-172
changeset 15200a2da48f2b8b
parent 1519 6f4a4623bfe7
child 1521 dae9a0765a7b
IOSAD-172 Fix discrepancy with .h
pEpObjCAdapter/NSError+PEP.m
     1.1 --- a/pEpObjCAdapter/NSError+PEP.m	Sat Jun 27 15:28:44 2020 +0200
     1.2 +++ b/pEpObjCAdapter/NSError+PEP.m	Sat Jun 27 15:51:21 2020 +0200
     1.3 @@ -45,10 +45,10 @@
     1.4      return [self errorWithPEPStatusInternal:(PEP_STATUS) status];
     1.5  }
     1.6  
     1.7 -+ (BOOL)setError:(NSError * _Nullable * _Nullable)error fromPEPStatus:(PEP_STATUS)status
     1.8 ++ (BOOL)setError:(NSError * _Nullable * _Nullable)error fromPEPStatus:(PEPStatus)status
     1.9  {
    1.10      // Determine if the given status is an error.
    1.11 -    NSError *errorFromStatus = [self errorWithPEPStatusInternal:status];
    1.12 +    NSError *errorFromStatus = [self errorWithPEPStatus:status];
    1.13  
    1.14      // Set caller's error, if given
    1.15      if (error) {