Mercurial > masqmail
changeset 274:89199eda6144
fixed `To: alice, bob' with -t
If rcpt headers contained an unqualified address followed
by more addresses, they habe not been recognized. This
should be fixed now.
author | markus schnalke <meillo@marmaro.de> |
---|---|
date | Fri, 03 Dec 2010 19:33:54 -0300 (2010-12-03) |
parents | 00724782b6c9 |
children | 1405012509e3 |
files | src/parse.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/parse.c Fri Dec 03 19:25:43 2010 -0300 +++ b/src/parse.c Fri Dec 03 19:33:54 2010 -0300 @@ -186,7 +186,7 @@ /* we now have a non-space char that is not the beginning of a comment */ - if (*p == '@') { + if (*p == '@' || *p == ',') { /* the last word was the local_part of an addr-spec */ *local_begin = b; *local_end = e; @@ -204,6 +204,7 @@ *domain_end = e; } else { /* unqualified? */ + /* something like `To: alice, bob' with -t */ *domain_begin = *domain_end = NULL; } break;