now unnecessary sync
authorVolker Birk <vb@pep-project.org>
Thu, 28 Mar 2019 06:55:06 +0100
branchsync
changeset 3412f99244015bda
parent 3411 a7a41427e81a
child 3413 206593c06991
now unnecessary
src/sync_api.c
     1.1 --- a/src/sync_api.c	Thu Mar 28 06:53:12 2019 +0100
     1.2 +++ b/src/sync_api.c	Thu Mar 28 06:55:06 2019 +0100
     1.3 @@ -82,11 +82,6 @@
     1.4          session->sync_state.common.own_identities = identity_list_dup(identities_sharing);
     1.5          if (!session->sync_state.common.own_identities)
     1.6              status = PEP_OUT_OF_MEMORY;
     1.7 -        if (!session->sync_state.common.own_identities->ident) {
     1.8 -            free_identity_list(session->sync_state.common.own_identities);
     1.9 -            session->sync_state.common.own_identities = NULL;
    1.10 -            status = own_identities_retrieve(session, &session->sync_state.common.own_identities);
    1.11 -        }
    1.12      }
    1.13      else {
    1.14          status = own_identities_retrieve(session, &session->sync_state.common.own_identities);