adapt sync test sync
authorVolker Birk <vb@pep.foundation>
Sun, 21 Oct 2018 15:37:18 +0200
branchsync
changeset 3086c35fd5131941
parent 3085 d838e2d02278
child 3087 f4a714769872
adapt sync test
test/include/SyncTests.h
test/src/engine_tests/SyncTests.cc
     1.1 --- a/test/include/SyncTests.h	Sun Oct 21 12:35:25 2018 +0200
     1.2 +++ b/test/include/SyncTests.h	Sun Oct 21 15:37:18 2018 +0200
     1.3 @@ -20,7 +20,6 @@
     1.4      void processing();
     1.5  
     1.6      static PEP_STATUS notifyHandshake(
     1.7 -            void *obj,
     1.8              pEp_identity *me,
     1.9              pEp_identity *partner,
    1.10              sync_handshake_signal signal
     2.1 --- a/test/src/engine_tests/SyncTests.cc	Sun Oct 21 12:35:25 2018 +0200
     2.2 +++ b/test/src/engine_tests/SyncTests.cc	Sun Oct 21 15:37:18 2018 +0200
     2.3 @@ -24,7 +24,6 @@
     2.4  }
     2.5  
     2.6  PEP_STATUS Sync_Adapter::notifyHandshake(
     2.7 -        void *obj,
     2.8          pEp_identity *me,
     2.9          pEp_identity *partner,
    2.10          sync_handshake_signal signal
    2.11 @@ -141,7 +140,7 @@
    2.12      cout << "initialize sync and start first state machine\n";
    2.13      status = register_sync_callbacks(
    2.14              sync,
    2.15 -            &adapter.q,
    2.16 +            (void *) &adapter.q,
    2.17              Sync_Adapter::notifyHandshake,
    2.18              Sync_Adapter::retrieve_next_sync_event
    2.19          );