Hello!

Kostik wrote:
>> 16ea05b7  - improves behavior of mu_mimehdr_a?get_disp wrt. missing
>> semicolon.

Sergey, several suggestions for improvement mu_mimehdr_aget_disp():

1. for
---
Content-Type: "text/plain";
        charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
---
type is "text/plain" (with double quotes).

And mu_c_strcasecmp() in examples/mimetest.c not work correctly with it.
---
      else if (!type
               || (mu_c_strcasecmp (type, "text/plain") == 0)
               || (mu_c_strcasecmp (type, "text/html")) == 0)
        {
---

2. for
---
Content-Type: text/plain ; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
---
type is 'text/plain ' (with whitespace at the end (quotes is mine)).

And in examples/mimetest.c mu_c_strcasecmp() not work correctly again.

=kostik

_______________________________________________
Bug-mailutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-mailutils

Reply via email to