renicing
authorVolker Birk <vb@pep-project.org>
Sat, 28 Mar 2015 11:18:20 +0100
changeset 150a8672133ab9d
parent 149 9eadaa00cc8d
child 151 ece2659f90f6
renicing
src/mime.c
     1.1 --- a/src/mime.c	Sat Mar 28 11:09:57 2015 +0100
     1.2 +++ b/src/mime.c	Sat Mar 28 11:18:20 2015 +0100
     1.3 @@ -1314,12 +1314,7 @@
     1.4                  }
     1.5              }
     1.6          }
     1.7 -        if (content->ct_type &&
     1.8 -                content->ct_type->tp_type == MAILMIME_TYPE_COMPOSITE_TYPE
     1.9 -                && content->ct_type->tp_data.tp_composite_type
    1.10 -                && content->ct_type->tp_data.tp_composite_type->ct_type ==
    1.11 -                        MAILMIME_COMPOSITE_TYPE_MULTIPART) {
    1.12 -
    1.13 +        if (_is_multipart(content)) {
    1.14              clist *partlist = mime->mm_data.mm_multipart.mm_mp_list;
    1.15              if (partlist == NULL)
    1.16                  return PEP_ILLEGAL_VALUE;