IOSAD-103 always using [PEPSync instance] for symmetry IOSAD-103
authorDirk Zimmermann <dirk@pep-project.org>
Tue, 30 Oct 2018 14:50:53 +0100
branchIOSAD-103
changeset 73341104554955f
parent 732 defc14d75ec9
child 734 0b400966db4b
IOSAD-103 always using [PEPSync instance] for symmetry
pEpObjCAdapter/PEPSync.m
     1.1 --- a/pEpObjCAdapter/PEPSync.m	Tue Oct 30 14:50:53 2018 +0100
     1.2 +++ b/pEpObjCAdapter/PEPSync.m	Tue Oct 30 14:50:53 2018 +0100
     1.3 @@ -91,7 +91,7 @@
     1.4  
     1.5  static SYNC_EVENT retrieve_next_sync_event(void *management, time_t threshold)
     1.6  {
     1.7 -    PEPSync *sync = (PEPSync *) CFBridgingRelease(management);
     1.8 +    PEPSync *sync = [PEPSync instance];
     1.9      return [sync retrieveNextSyncEvent:threshold];
    1.10  }
    1.11