set transport data sync
authorVolker Birk <vb@pep-project.org>
Wed, 29 May 2019 19:12:04 +0200
branchsync
changeset 37748632ec1f3ae1
parent 3773 874ce1a8837a
child 3775 e690ea388036
set transport data
sync/gen_statemachine.ysl2
     1.1 --- a/sync/gen_statemachine.ysl2	Wed May 29 17:37:01 2019 +0200
     1.2 +++ b/sync/gen_statemachine.ysl2	Wed May 29 19:12:04 2019 +0200
     1.3 @@ -808,14 +808,14 @@
     1.4                  // update transport data
     1.5  
     1.6                  if (ev->from) {
     1.7 -                    free_identity(session->«yml:lcase(@name)»_state.comm_partner.from);
     1.8 -                    session->«yml:lcase(@name)»_state.comm_partner.from = ev->from;
     1.9 +                    free_identity(session->«yml:lcase(@name)»_state.transport.from);
    1.10 +                    session->«yml:lcase(@name)»_state.transport.from = ev->from;
    1.11                      ev->from = NULL;
    1.12                  }
    1.13  
    1.14                  if (ev->signature_fpr) {
    1.15 -                    free(session->«yml:lcase(@name)»_state.comm_partner.signature_fpr);
    1.16 -                    session->«yml:lcase(@name)»_state.comm_partner.signature_fpr = ev->signature_fpr;
    1.17 +                    free(session->«yml:lcase(@name)»_state.transport.signature_fpr);
    1.18 +                    session->«yml:lcase(@name)»_state.transport.signature_fpr = ev->signature_fpr;
    1.19                      ev->signature_fpr = NULL;
    1.20                  }
    1.21