src/sync.c
changeset 690 3ae86b68fdfe
parent 679 2210805af158
child 951 dec407deb10e
     1.1 --- a/src/sync.c	Fri May 27 11:46:24 2016 +0200
     1.2 +++ b/src/sync.c	Sun May 29 12:21:50 2016 +0200
     1.3 @@ -3,8 +3,6 @@
     1.4  #include <memory.h>
     1.5  #include <assert.h>
     1.6  
     1.7 -#include "sync_fsm.h"
     1.8 -
     1.9  
    1.10  DYNAMIC_API PEP_STATUS register_sync_callbacks(
    1.11          PEP_SESSION session,
    1.12 @@ -37,13 +35,13 @@
    1.13  
    1.14      switch (result) {
    1.15          case SYNC_HANDSHAKE_CANCEL:
    1.16 -            fsm_DeviceState_inject(session, Cancel);
    1.17 +            fsm_DeviceState_inject(session, Cancel, NULL, 0);
    1.18              break;
    1.19          case SYNC_HANDSHAKE_ACCEPTED:
    1.20 -            fsm_DeviceState_inject(session, HandshakeAccepted);
    1.21 +            fsm_DeviceState_inject(session, HandshakeAccepted, NULL, 0);
    1.22              break;
    1.23          case SYNC_HANDSHAKE_REJECTED:
    1.24 -            fsm_DeviceState_inject(session, HandshakeRejected);
    1.25 +            fsm_DeviceState_inject(session, HandshakeRejected, NULL, 0);
    1.26              break;
    1.27          default:
    1.28              return PEP_ILLEGAL_VALUE;