Merge pull request #192 from bosim/address-parsing

Handle parsing of a@b.c <e@f.g>
This commit is contained in:
Vincent Richard 2018-03-12 20:31:03 +01:00 committed by GitHub
commit 754e556aeb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -234,8 +234,6 @@ void mailbox::parseImpl
++p; ++p;
} }
break;
} }
else else
{ {
@ -245,10 +243,6 @@ void mailbox::parseImpl
} }
else if (state == State_Address) else if (state == State_Address)
{ {
// Skip '<' character
if (*p == '<')
++p;
bool escaped = false; bool escaped = false;
int comment = 0; int comment = 0;