src/sync_impl.c
branchENGINE-293
changeset 2304 3bd45e2b8f92
parent 2303 e7b3fa443f3e
child 2386 0ae02e926c6b
     1.1 --- a/src/sync_impl.c	Mon Dec 04 18:23:14 2017 +0100
     1.2 +++ b/src/sync_impl.c	Tue Dec 05 10:00:48 2017 +0100
     1.3 @@ -631,11 +631,13 @@
     1.4                              if (status != PEP_STATUS_OK)
     1.5                                  goto free_all;
     1.6                              
     1.7 +                            pEp_identity* _from = NULL;
     1.8 +                            
     1.9                              if (own_id) {    
    1.10 -                                pEp_identity *_from = new_identity(NULL, 
    1.11 -                                                                   keylist->value,
    1.12 -                                                                   own_id,
    1.13 -                                                                   NULL);
    1.14 +                                _from = new_identity(NULL, 
    1.15 +                                                     keylist->value,
    1.16 +                                                     own_id,
    1.17 +                                                     NULL);
    1.18                              }
    1.19                              else {
    1.20                                  status = own_id_status;