]> granicus.if.org Git - neomutt/commit
Fix bad idn error on local mailboxes. (closes #3795)
authorKevin McCarthy <kevin@8t8.us>
Wed, 25 Nov 2015 05:45:58 +0000 (21:45 -0800)
committerKevin McCarthy <kevin@8t8.us>
Wed, 25 Nov 2015 05:45:58 +0000 (21:45 -0800)
commit66ecb663dd706b4f9f57b0778ebcf99c08de8488
tree08391e0b317295b0245fab5e3830fa700a5adaab
parentbf9a53f617b24c7f8c525f464e86ed4f8b9ddb1b
Fix bad idn error on local mailboxes.  (closes #3795)

Commit 831abf39d53a pulled the mbox_to_udomain() call inside the
conversion functions.  Unfortunately, this causes local (user only)
mailboxes to be considered conversion errors instead of just skipping
them.

Revert mbox_to_udomain() back to using a static buffer and pull back
into the mutt_addrlist_to_local/intl() functions.

Pass the user and domain into the conversion functions instead of the address.
mutt_idna.c