src/etpan_mime.c
changeset 155 a131cef4a937
parent 154 3ba2cbfcef1d
child 156 0d9aec90828f
     1.1 --- a/src/etpan_mime.c	Sun Mar 29 11:23:35 2015 +0200
     1.2 +++ b/src/etpan_mime.c	Sun Mar 29 11:48:58 2015 +0200
     1.3 @@ -619,8 +619,7 @@
     1.4                  for (cur2 = clist_begin(_parmlist); cur2; cur2 =
     1.5                          clist_next(cur2)) {
     1.6                      struct mailmime_parameter * param = clist_content(cur2);
     1.7 -                    if (param && (param->pa_name == NULL || 
     1.8 -                            strcmp("filename", param->pa_name) == 0))
     1.9 +                    if (param && param->pa_name == NULL)
    1.10                          return param->pa_value;
    1.11                  }
    1.12              }