diff options
Diffstat (limited to 'src/mailboxField.cpp')
-rw-r--r-- | src/mailboxField.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mailboxField.cpp b/src/mailboxField.cpp index c3c5214e..1f11f49c 100644 --- a/src/mailboxField.cpp +++ b/src/mailboxField.cpp @@ -43,15 +43,16 @@ mailboxField::mailboxField(const mailboxField&) } -void mailboxField::parse(const string& buffer, const string::size_type position, - const string::size_type end, string::size_type* newPosition) +void mailboxField::parse + (const parsingContext& ctx, const string& buffer, const string::size_type position, + const string::size_type end, string::size_type* newPosition) { ref <mailbox> mbox = vmime::create <mailbox>(); // Here, we cannot simply call "m_mailbox.parse()" because it // may have more than one address specified (even if this field // should contain only one). We are never too much careful... - ref <address> parsedAddress = address::parseNext(buffer, position, end, newPosition); + ref <address> parsedAddress = address::parseNext(ctx, buffer, position, end, newPosition); if (parsedAddress) { |