IOSAD-172 Use correct error handling IOSAD-172
authorDirk Zimmermann <dz@pep.security>
Sat, 27 Jun 2020 15:52:56 +0200
branchIOSAD-172
changeset 1521dae9a0765a7b
parent 1520 0a2da48f2b8b
child 1522 86c579f701a2
IOSAD-172 Use correct error handling
pEpObjCAdapter/PEPInternalSession.m
     1.1 --- a/pEpObjCAdapter/PEPInternalSession.m	Sat Jun 27 15:51:21 2020 +0200
     1.2 +++ b/pEpObjCAdapter/PEPInternalSession.m	Sat Jun 27 15:52:56 2020 +0200
     1.3 @@ -1100,7 +1100,7 @@
     1.4                                                         enable,
     1.5                                                         [normalizedPassphrase UTF8String]);
     1.6  
     1.7 -    if ([NSError setError:error fromPEPStatus:status]) {
     1.8 +    if ([NSError setError:error fromPEPStatusInternal:status]) {
     1.9          return NO;
    1.10      }
    1.11