1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-06 14:16:32 +02:00

* Try fixing crash.

This commit is contained in:
Christian Muehlhaeuser
2011-02-27 20:27:19 +01:00
parent d315e5b92f
commit dae300481e

View File

@@ -346,7 +346,7 @@ Servent::createParallelConnection( Connection* orig_conn, Connection* new_conn,
{
qDebug() << "Servent::createParallelConnection, key:" << key << thread() << orig_conn;
// if we can connect to them directly:
if( orig_conn->outbound() )
if( orig_conn && orig_conn->outbound() )
{
qDebug() << "Connecting directly";
connectToPeer( orig_conn->socket()->peerAddress().toString(),