rename to sender_fpr sync
authorVolker Birk <vb@pep-project.org>
Wed, 29 May 2019 19:42:32 +0200
branchsync
changeset 37768e7cf563f074
parent 3775 e690ea388036
child 3777 03b33b972645
rename to sender_fpr
src/message_api.c
     1.1 --- a/src/message_api.c	Wed May 29 19:17:33 2019 +0200
     1.2 +++ b/src/message_api.c	Wed May 29 19:42:32 2019 +0200
     1.3 @@ -3893,15 +3893,15 @@
     1.4              !(*flags & PEP_decrypt_flag_dont_trigger_sync)) {
     1.5          size_t size;
     1.6          const char *data;
     1.7 -        char *sync_fpr = NULL;
     1.8 -        PEP_STATUS tmpstatus = base_extract_message(session, msg, &size, &data, &sync_fpr);
     1.9 +        char *sender_fpr = NULL;
    1.10 +        PEP_STATUS tmpstatus = base_extract_message(session, msg, &size, &data, &sender_fpr);
    1.11          if (!tmpstatus && size && data) {
    1.12 -            if (sync_fpr)
    1.13 -                signal_Sync_message(session, *rating, data, size, msg->from, sync_fpr);
    1.14 +            if (sender_fpr)
    1.15 +                signal_Sync_message(session, *rating, data, size, msg->from, sender_fpr);
    1.16              else if (*keylist)
    1.17                  signal_Sync_message(session, *rating, data, size, msg->from, (*keylist)->value);
    1.18          }
    1.19 -        free(sync_fpr);
    1.20 +        free(sender_fpr);
    1.21      }
    1.22  
    1.23      return status;