mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-23 17:29:42 +01:00
Fix crash in claimOffer()
This commit is contained in:
parent
3941a61ca9
commit
9e9459486a
@ -856,7 +856,7 @@ Servent::claimOffer( ControlConnection* cc, const QString &nodeid, const QString
|
||||
bool authed = false;
|
||||
foreach( ControlConnection* cc, m_controlconnections )
|
||||
{
|
||||
if( cc->socket()->peerAddress() == peer )
|
||||
if( !cc->socket().isNull() && cc->socket()->peerAddress() == peer )
|
||||
{
|
||||
authed = true;
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user