[PATCH] Add ~M pattern to match mime Content-Types.

Ammon Riley ammon.riley at gmail.com
Fri Apr 27 01:00:00 UTC 2018


On Thu, Apr 26, 2018 at 5:34 PM, Kevin J. McCarthy <kevin at 8t8.us> wrote:
> On Thu, Apr 26, 2018 at 05:14:27PM -0700, Ammon Riley wrote:
> Your new patch was too fast. :-)  I realized I forgot to include one
> other comment, below.  I have to run, but I'll take another closer look
> at the revised patch later tonight.

3rd time's the charm, right?

> snprintf (unlike strncpy) will always add the terminating null byte.

Fixed.  I should have remembered that, as I've had to deal with
the nonsense of Microsoft's _snprintf() *not* doing it.

A
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-M-pattern-to-match-mime-Content-Types.patch
Type: text/x-patch
Size: 3973 bytes
Desc: not available
URL: <http://lists.mutt.org/pipermail/mutt-dev/attachments/20180426/0c44454e/attachment-0001.bin>


More information about the Mutt-dev mailing list