Commit bacb2c70 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add info about invalid address

parent 21c23de7
......@@ -283,7 +283,7 @@ static bool stringToMailbox(const QByteArray &address,
const char *cursor = address.constData();
if (!parseAngleAddr(cursor, cursor + address.length(), addrSpec)) {
if (!parseAddrSpec(cursor, cursor + address.length(), addrSpec)) {
qWarning() << "Invalid address";
qWarning() << "stringToMailbox: Invalid address";
return false;
}
}
......
......@@ -136,7 +136,7 @@ void Mailbox::setAddress(const QByteArray &addr)
cursor + addr.length(), mAddrSpec)) {
if (!HeaderParsing::parseAddrSpec(cursor, cursor + addr.length(),
mAddrSpec)) {
qWarning() << "Invalid address";
qWarning() << "Mailbox: Invalid address";
return;
}
}
......
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