From: pdmef Date: Tue, 17 May 2005 11:19:23 +0000 (+0000) Subject: Rocco Rutte: X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=commitdiff_plain;h=f70e0d5b479d4917b97d5e1e50f9276dcd51cad3 Rocco Rutte: - repair exact address regeneration (--enable-exact-address) (dirty solution only) git-svn-id: svn://svn.berlios.de/mutt-ng/trunk@294 e385b8ad-14ed-0310-8656-cc95a2468c6d --- diff --git a/INSTALL b/INSTALL index e6a85dc..be04a07 100644 --- a/INSTALL +++ b/INSTALL @@ -188,8 +188,6 @@ to ``configure'' to help it out, or change the default behavior: addresses in the same form they are parsed. NOTE: this requires significantly more memory. - WARNING: DO NOT USE THIS OPTION, IT IS BROKEN. - Once ``configure'' has completed, simply type ``make install.'' diff --git a/rfc822.c b/rfc822.c index 5f20de4..d3b5d56 100644 --- a/rfc822.c +++ b/rfc822.c @@ -514,6 +514,9 @@ void rfc822_write_address_single (char *buf, size_t buflen, ADDRESS * addr, goto done; strfcpy (pbuf, addr->val, buflen); len = safe_strlen (pbuf); + /* dirty fix to un-break EXACT_ADDRESS */ + if (pbuf[len-1] == '\n') + pbuf[--len] = '\0'; pbuf += len; buflen -= len; if (addr->group) {