From: Thomas Roessler Date: Wed, 17 Jan 2001 08:53:12 +0000 (+0000) Subject: This one-line diff should fix the behaviour of the address parser X-Git-Tag: mutt-1-3-14-rel~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=72a93d83e419cd5b16c96c0ea1835a3588971153;p=mutt This one-line diff should fix the behaviour of the address parser when encountering loose dots in addresses. --- diff --git a/rfc822.c b/rfc822.c index 27f4d38c..1611a140 100644 --- a/rfc822.c +++ b/rfc822.c @@ -459,7 +459,7 @@ ADDRESS *rfc822_parse_adrlist (ADDRESS *top, const char *s) } else { - if (phraselen && phraselen < sizeof (phrase) - 1) + if (phraselen && phraselen < sizeof (phrase) - 1 && *s != '.') phrase[phraselen++] = ' '; if ((ps = next_token (s, phrase, &phraselen, sizeof (phrase) - 1)) == NULL) {