treat empty least as skipped param sync
authorVolker Birk <vb@pep-project.org>
Thu, 28 Mar 2019 06:49:49 +0100
branchsync
changeset 34097f33fb2a7acb
parent 3408 78506867a9c0
child 3410 2bd32e4e9f4b
treat empty least as skipped param
src/sync_api.c
     1.1 --- a/src/sync_api.c	Wed Mar 27 22:31:15 2019 +0100
     1.2 +++ b/src/sync_api.c	Thu Mar 28 06:49:49 2019 +0100
     1.3 @@ -179,7 +179,7 @@
     1.4      if (status)
     1.5          goto the_end;
     1.6  
     1.7 -    if (identities_sharing) {
     1.8 +    if (identities_sharing && identities_sharing->ident) {
     1.9          for (identity_list *_il = own_identities; _il && _il->ident;
    1.10                  _il = _il->next) {
    1.11              bool found = false;