add my macros to the new code, too ENGINE-199
authorRoker <roker@pep-project.org>
Mon, 08 May 2017 08:21:24 +0200
branchENGINE-199
changeset 1754a9e54ca6c043
parent 1753 01faac16cec6
child 1764 e1c31ee55aad
add my macros to the new code, too
src/message_api.c
     1.1 --- a/src/message_api.c	Mon May 08 08:18:47 2017 +0200
     1.2 +++ b/src/message_api.c	Mon May 08 08:21:24 2017 +0200
     1.3 @@ -2487,7 +2487,7 @@
     1.4  
     1.5      status = mime_decode_message(mimetext, size, &tmp_msg);
     1.6      if (status != PEP_STATUS_OK)
     1.7 -        goto pep_error;
     1.8 +        GOTO(pep_error);
     1.9  
    1.10      PEP_STATUS decrypt_status = decrypt_message(session,
    1.11                                                  tmp_msg,
    1.12 @@ -2503,14 +2503,14 @@
    1.13      if (decrypt_status > PEP_CANNOT_DECRYPT_UNKNOWN)
    1.14      {
    1.15          status = decrypt_status;
    1.16 -        goto pep_error;
    1.17 +        GOTO(pep_error);
    1.18      }
    1.19  
    1.20      assert(dec_msg);
    1.21      
    1.22      if (!dec_msg) {
    1.23          status = PEP_UNKNOWN_ERROR;
    1.24 -        goto pep_error;
    1.25 +        GOTO(pep_error);
    1.26      }
    1.27  
    1.28      status = mime_encode_message(dec_msg, false, mime_plaintext);
    1.29 @@ -2561,7 +2561,7 @@
    1.30  
    1.31      if (!enc_msg) {
    1.32          status = PEP_UNKNOWN_ERROR;
    1.33 -        goto pep_error;
    1.34 +        GOTO(pep_error);
    1.35      }
    1.36  
    1.37      status = mime_encode_message(enc_msg, false, mime_ciphertext);