src/etpan_mime.c
branchENGINE-233
changeset 2011 86bbefb0e806
parent 1900 0aa3e9e7c850
child 2200 644d22d740f0
     1.1 --- a/src/etpan_mime.c	Thu Aug 24 11:30:35 2017 +0200
     1.2 +++ b/src/etpan_mime.c	Mon Aug 28 11:29:31 2017 +0200
     1.3 @@ -301,6 +301,11 @@
     1.4          switch (resource->rid_type) {
     1.5              case PEP_RID_CID:
     1.6                  content_id = strdup(resource->rid);
     1.7 +                disposition =
     1.8 +                    mailmime_disposition_new_with_data(MAILMIME_DISPOSITION_TYPE_INLINE,
     1.9 +                                                       NULL, NULL, NULL, NULL, (size_t) -1);
    1.10 +                    if (disposition == NULL)
    1.11 +                        goto enomem;
    1.12                  break;
    1.13              case PEP_RID_FILENAME:
    1.14              default: