Commit d4305208 authored by Kevin J. McCarthy's avatar Kevin J. McCarthy
Browse files

Add group terminator if it is left off.

If there is no terminating ";" add one to the list, to make the text
re-rendering correct.
parent 939b02b3
Pipeline #242883596 passed with stages
in 4 minutes and 11 seconds
......@@ -656,6 +656,10 @@ ADDRESS *rfc822_parse_adrlist (ADDRESS *top, const char *s)
last->val = mutt_substrdup (begin, s - nl < begin ? begin : s - nl);
/* add group terminator, if it was left off */
if (last && in_group)
last->next = rfc822_new_address ();
return top;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment