]> granicus.if.org Git - mutt/commit
Convert rfc1524_mailcap_lookup() to use buffer pool for path.
authorKevin McCarthy <kevin@8t8.us>
Wed, 23 Oct 2019 11:01:17 +0000 (19:01 +0800)
committerKevin McCarthy <kevin@8t8.us>
Wed, 23 Oct 2019 11:01:17 +0000 (19:01 +0800)
commit8997c55f48e356c28a9eadcc3fae224be5ffac02
treea85e292da0d7a69f6e1feb3ef51a3ffd06299ea7
parent6380cbd6b9450ab542df2eafaade12059eed8618
Convert rfc1524_mailcap_lookup() to use buffer pool for path.

Adjust the rfc1524_mailcap_parse() and get_field_text() filename and
type parameters to be const.

Note that the sizeof(type) needs to be passed to
rfc1524_mailcap_lookup().  I'll fix that next.
rfc1524.c