mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-25 23:06:23 +02:00
* Style fixes to Servent.
This commit is contained in:
@@ -159,7 +159,7 @@ Servent::startListening( QHostAddress ha, bool upnp, int port, Tomahawk::Network
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
else if ( ( ha.toString() != "127.0.0.1" ) && ( ha.toString() != "::1" ) && ( ha.toString() != "::7F00:1" ) )
|
else if ( ( ha.toString() != "127.0.0.1" ) && ( ha.toString() != "::1" ) && ( ha.toString() != "::7F00:1" ) )
|
||||||
{
|
{
|
||||||
// We listen only to one specific Address, only announce this.
|
// We listen only to one specific Address, only announce this.
|
||||||
d_func()->externalAddresses.append( ha );
|
d_func()->externalAddresses.append( ha );
|
||||||
@@ -167,7 +167,7 @@ Servent::startListening( QHostAddress ha, bool upnp, int port, Tomahawk::Network
|
|||||||
// If we only accept connections via localhost, we'll announce nothing.
|
// If we only accept connections via localhost, we'll announce nothing.
|
||||||
|
|
||||||
tLog( LOGVERBOSE ) << Q_FUNC_INFO << "Servent listening on port" << d_func()->port << "- servent thread:" << thread()
|
tLog( LOGVERBOSE ) << Q_FUNC_INFO << "Servent listening on port" << d_func()->port << "- servent thread:" << thread()
|
||||||
<< "- address mode:" << (int)( mode );
|
<< "- address mode:" << (int)( mode );
|
||||||
|
|
||||||
switch ( mode )
|
switch ( mode )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user