mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-01 03:40:16 +02:00
Always try next SipInfo
This commit is contained in:
@@ -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 );
|
||||
}
|
||||
|
Reference in New Issue
Block a user