mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-25 18:30:20 +01:00
guard against a null error-condition, c.f. TWK-224
This commit is contained in:
parent
d4c68ddd27
commit
6ff43b8aed
@ -622,7 +622,8 @@ void JabberPlugin::onNewMessage(const Jreen::Message& message)
|
||||
|
||||
if( message.subtype() == Jreen::Message::Error )
|
||||
{
|
||||
qDebug() << Q_FUNC_INFO << "Received error message from " << from << ", not answering... (Condition: " << message.error()->condition() << ")";
|
||||
qDebug() << Q_FUNC_INFO << "Received error message from " << from << ", not answering... (Condition: "
|
||||
<< ( message.error().isNull() ? -1 : message.error()->condition() ) << ")";
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user