remove obj param from notifyHandshake() sync
authorVolker Birk <vb@pep.foundation>
Thu, 11 Oct 2018 19:01:05 +0200
branchsync
changeset 3047bf4e1dda6c50
parent 3042 cb5f579ccc32
child 3054 446b47c16304
remove obj param from notifyHandshake()
src/sync_api.h
sync/cond_act_sync.yml2
     1.1 --- a/src/sync_api.h	Thu Oct 11 13:19:22 2018 +0200
     1.2 +++ b/src/sync_api.h	Thu Oct 11 19:01:05 2018 +0200
     1.3 @@ -49,7 +49,6 @@
     1.4  //      ownership of self and partner go to the callee
     1.5  
     1.6  typedef PEP_STATUS (*notifyHandshake_t)(
     1.7 -        void *obj,
     1.8          pEp_identity *me,
     1.9          pEp_identity *partner,
    1.10          sync_handshake_signal signal
     2.1 --- a/sync/cond_act_sync.yml2	Thu Oct 11 13:19:22 2018 +0200
     2.2 +++ b/sync/cond_act_sync.yml2	Thu Oct 11 19:01:05 2018 +0200
     2.3 @@ -136,8 +136,7 @@
     2.4              return PEP_OUT_OF_MEMORY;
     2.5          }
     2.6  
     2.7 -        status = session->notifyHandshake(session->sync_management, me,
     2.8 -                partner, «$type»);
     2.9 +        status = session->notifyHandshake(me, partner, «$type»);
    2.10          if (status)
    2.11              return status;
    2.12      ||