1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-04-21 08:21:54 +02:00

* Add more debug info to SipHandler.

This commit is contained in:
Christian Muehlhaeuser 2012-07-07 01:36:40 +02:00
parent a8c58705f4
commit 269488fdb7

View File

@ -182,7 +182,7 @@ SipHandler::onSipInfo( const QString& peerId, const SipInfo& info )
if( !Servent::instance()->visibleExternally() ||
Servent::instance()->externalAddress() <= info.host().hostName() )
{
qDebug() << "Initiate connection to" << peerId;
tDebug() << "Initiate connection to" << peerId << Servent::instance()->externalAddress() << info.host().hostName() << ( Servent::instance()->externalAddress() <= info.host().hostName() );
Servent::instance()->connectToPeer( info.host().hostName(),
info.port(),
info.key(),
@ -191,12 +191,12 @@ SipHandler::onSipInfo( const QString& peerId, const SipInfo& info )
}
else
{
qDebug() << Q_FUNC_INFO << "They should be conecting to us...";
tDebug() << Q_FUNC_INFO << "They should be conecting to us...";
}
}
else
{
qDebug() << Q_FUNC_INFO << "They are not visible, doing nothing atm";
tDebug() << Q_FUNC_INFO << "They are not visible, doing nothing atm";
}
m_peersSipInfos.insert( peerId, info );