[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-mailutils] improve behavior of mu_mimehdr_a?get_disp
From: |
Kostik |
Subject: |
[bug-mailutils] improve behavior of mu_mimehdr_a?get_disp |
Date: |
Mon, 19 Apr 2010 19:31:21 +0400 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.24) Gecko/20100228 Thunderbird/2.0.0.24 Mnenhy/0.7.6.0 |
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] Couple working issues about mailutils, Kostik, 2010/04/12
- [bug-mailutils] seems mailutils memory leaks, Kostik, 2010/04/14
- Re: [bug-mailutils] seems mailutils memory leaks, Sergey Poznyakoff, 2010/04/14
- Re: [bug-mailutils] seems mailutils memory leaks, Kostik, 2010/04/14
- Re: [bug-mailutils] seems mailutils memory leaks, Sergey Poznyakoff, 2010/04/14
- Re: [bug-mailutils] seems mailutils memory leaks, Kostik, 2010/04/15
- [bug-mailutils] improve behavior of mu_mimehdr_a?get_disp,
Kostik <=
- Re: [bug-mailutils] improve behavior of mu_mimehdr_a?get_disp, Sergey Poznyakoff, 2010/04/20
- Re: [bug-mailutils] improve behavior of mu_mimehdr_a?get_disp, Kostik, 2010/04/26
- Re: [bug-mailutils] improve behavior of mu_mimehdr_a?get_disp, Sergey Poznyakoff, 2010/04/26
- Re: [bug-mailutils] improve behavior of mu_mimehdr_a?get_disp, Kostik, 2010/04/27
- Re: [bug-mailutils] improve behavior of mu_mimehdr_a?get_disp, Sergey Poznyakoff, 2010/04/27
- Re: [bug-mailutils] improve behavior of mu_mimehdr_a?get_disp, Kostik, 2010/04/28
- Re: [bug-mailutils] improve behavior of mu_mimehdr_a?get_disp, Sergey Poznyakoff, 2010/04/29
[bug-mailutils] Re: seems mailutils memory leaks, Kostik, 2010/04/14