myself() not needed here keysync
authorVolker Birk <vb@pep.foundation>
Tue, 23 Aug 2016 17:21:31 +0200
branchkeysync
changeset 1072710d0936541d
parent 1071 dac72ee3e56b
child 1073 b5c5c448a1dd
myself() not needed here
src/sync_impl.c
     1.1 --- a/src/sync_impl.c	Tue Aug 23 17:20:04 2016 +0200
     1.2 +++ b/src/sync_impl.c	Tue Aug 23 17:21:31 2016 +0200
     1.3 @@ -213,12 +213,6 @@
     1.4      for (identity_list *_i = own_identities; _i && _i->ident; _i = _i->next) {
     1.5          pEp_identity *me = _i->ident;
     1.6  
     1.7 -        status = myself(session, me);
     1.8 -        if (status == PEP_OUT_OF_MEMORY)
     1.9 -            goto enomem;
    1.10 -        if (status != PEP_STATUS_OK)
    1.11 -            continue;
    1.12 -     
    1.13          // FIXME: no deep copy for multicast supported yet
    1.14          DeviceGroup_Protocol_t *_msg = malloc(sizeof(DeviceGroup_Protocol_t));
    1.15          assert(_msg);