1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-21 00:09:47 +01:00

Always try next SipInfo

This commit is contained in:
Uwe L. Korn 2013-04-06 00:09:36 +02:00
parent 70ac653985
commit 5ea9bbe604

View File

@ -915,14 +915,8 @@ Servent::connectToPeer(const QList<SipInfo>& sipInfoList, Connection* conn )
void
Servent::connectToPeerFailed( QList<SipInfo> sipInfo, Connection* conn, QTcpSocketExtra* socket )
{
cleanupSocket( socket );
if ( !socket )
{
// If we do not have run out of resource, try next SipInfo
connectToPeer( sipInfo, conn );
}
// Try next SipInfo
connectToPeer( sipInfo, conn );
}