bad typo fixed sync
authorVolker Birk <vb@pep-project.org>
Fri, 31 Jan 2020 14:50:40 +0100
branchsync
changeset 43910b2f7da808df
parent 4390 64a2a246abf5
child 4392 f2ee5ebb0c67
bad typo fixed
sync/cond_act_sync.yml2
     1.1 --- a/sync/cond_act_sync.yml2	Fri Jan 31 14:46:36 2020 +0100
     1.2 +++ b/sync/cond_act_sync.yml2	Fri Jan 31 14:50:40 2020 +0100
     1.3 @@ -426,7 +426,7 @@
     1.4  
     1.5      // set flag for all keys; don't change anything else
     1.6      for (identity_list *il = session->sync_state.own.identities; il && il->ident ; il = il->next) {
     1.7 -        if (!(il->ident->flags && PEP_idf_not_for_sync)) {
     1.8 +        if (!(il->ident->flags & PEP_idf_not_for_sync)) {
     1.9              status = set_identity_flags(session, il->ident, PEP_idf_devicegroup);
    1.10              if (status)
    1.11                  return status;
    1.12 @@ -439,7 +439,7 @@
    1.13      PEP_STATUS status = PEP_STATUS_OK;
    1.14      // set flag for all keys
    1.15      for (identity_list *il = session->sync_state.own.identities; il && il->ident ; il = il->next) {
    1.16 -        if (!(il->ident->flags && PEP_idf_not_for_sync)) {
    1.17 +        if (!(il->ident->flags & PEP_idf_not_for_sync)) {
    1.18  
    1.19              status = set_identity_flags(session, il->ident, PEP_idf_devicegroup);
    1.20              if (status)