mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 11:20:22 +02:00
guard against a null error-condition, c.f. TWK-224
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user