we don't need this sync
authorVolker Birk <vb@pep-project.org>
Mon, 23 Mar 2020 21:52:34 +0100
branchsync
changeset 45024c82c412eb19
parent 4499 6449b75af95b
child 4503 e92031e759fc
we don't need this
src/etpan_mime.c
     1.1 --- a/src/etpan_mime.c	Fri Mar 20 20:50:11 2020 +0100
     1.2 +++ b/src/etpan_mime.c	Mon Mar 23 21:52:34 2020 +0100
     1.3 @@ -1136,7 +1136,7 @@
     1.4      if (mime == NULL)
     1.5          goto enomem;
     1.6  
     1.7 -    pEp_rid_list_t* resource = new_rid_node(PEP_RID_FILENAME, "msg.txt");
     1.8 +    pEp_rid_list_t* resource = NULL;
     1.9      
    1.10      int encoding_type = (transport_encode ? MAILMIME_MECHANISM_QUOTED_PRINTABLE : 0);
    1.11      submime = get_text_part(NULL, "text/plain", plaintext, strlen(plaintext),
    1.12 @@ -1725,13 +1725,13 @@
    1.13      else {
    1.14          pEp_rid_list_t* resource = NULL;
    1.15          if (is_PGP_message_text(plaintext)) {
    1.16 -            resource = new_rid_node(PEP_RID_FILENAME, "msg.asc");
    1.17 +            resource = NULL;
    1.18              int encoding_type = (transport_encode ? MAILMIME_MECHANISM_7BIT : 0);
    1.19              mime = get_text_part(resource, "application/octet-stream", plaintext,
    1.20                      strlen(plaintext), encoding_type);
    1.21          }
    1.22          else {
    1.23 -            resource = new_rid_node(PEP_RID_FILENAME, "msg.txt");
    1.24 +            resource = NULL;
    1.25              int encoding_type = (transport_encode ? MAILMIME_MECHANISM_QUOTED_PRINTABLE : 0);
    1.26              mime = get_text_part(resource, "text/plain", plaintext, strlen(plaintext),
    1.27                      encoding_type);