src/sync_actions.c
changeset 907 8f5cca5bfa2d
parent 884 d64d366512a0
child 939 ed7dfdae3031
     1.1 --- a/src/sync_actions.c	Mon Jul 18 08:54:11 2016 +0200
     1.2 +++ b/src/sync_actions.c	Mon Jul 18 10:15:06 2016 +0200
     1.3 @@ -25,9 +25,9 @@
     1.4      PEP_STATUS status = PEP_STATUS_OK;
     1.5      assert(session);
     1.6      assert(partner);
     1.7 -    assert(session->showHandshake);
     1.8      if (!(session && partner))
     1.9          return PEP_ILLEGAL_VALUE;
    1.10 +    assert(session->showHandshake);
    1.11      if (!session->showHandshake)
    1.12          return PEP_SYNC_NO_TRUSTWORDS_CALLBACK;
    1.13  
    1.14 @@ -51,7 +51,7 @@
    1.15  }
    1.16  
    1.17  
    1.18 -// reject() - 
    1.19 +// reject() - stores rejection of partner
    1.20  //
    1.21  //  params:
    1.22  //      session (in)        session handle