src/sync_impl.c
branchkeysync
changeset 1074 aebf26305436
parent 1073 b5c5c448a1dd
child 1075 6ac3fd936e93
     1.1 --- a/src/sync_impl.c	Tue Aug 23 17:27:56 2016 +0200
     1.2 +++ b/src/sync_impl.c	Tue Aug 23 17:35:13 2016 +0200
     1.3 @@ -155,7 +155,7 @@
     1.4      status = get_identity(session, partner->address, PEP_OWN_USERID, &me);
     1.5      if (status != PEP_STATUS_OK)
     1.6          goto error;
     1.7 -    if (msg->header.me = Identity_from_Struct(me, NULL) == NULL)
     1.8 +    if (Identity_from_Struct(me, &msg->header.me) == NULL)
     1.9          goto enomem;
    1.10  
    1.11      if (asn_check_constraints(&asn_DEF_DeviceGroup_Protocol, msg, NULL, NULL)) {