IOSAD-103 DEBUG NSLOG IOSAD-103
authorDirk Zimmermann <dirk@pep-project.org>
Wed, 31 Oct 2018 16:38:25 +0100
branchIOSAD-103
changeset 746dbb0deb87940
parent 745 fb63476f9adc
child 747 24ba765d6d0e
IOSAD-103 DEBUG NSLOG
pEpObjCAdapter/PEPSync.m
     1.1 --- a/pEpObjCAdapter/PEPSync.m	Wed Oct 31 16:38:25 2018 +0100
     1.2 +++ b/pEpObjCAdapter/PEPSync.m	Wed Oct 31 16:38:25 2018 +0100
     1.3 @@ -210,6 +210,7 @@
     1.4  
     1.5  - (int)injectSyncEvent:(SYNC_EVENT)event
     1.6  {
     1.7 +    NSLog(@"*** inject event");
     1.8      [self.queue enqueue:[NSValue valueWithBytes:&event objCType:@encode(SYNC_EVENT)]];
     1.9      return 0;
    1.10  }
    1.11 @@ -232,8 +233,10 @@
    1.12  
    1.13  - (SYNC_EVENT)retrieveNextSyncEvent:(time_t)threshold
    1.14  {
    1.15 +    NSLog(@"*** retrieve");
    1.16      NSValue *value = [self.queue timedDequeue:&threshold];
    1.17      if (value) {
    1.18 +        NSLog(@"*** retrieve have value");
    1.19          SYNC_EVENT event;
    1.20          [value getValue:&event];
    1.21          return event;