1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-25 15:01:11 +02:00

* Style fixes to Servent.

This commit is contained in:
Christian Muehlhaeuser
2014-08-24 01:32:40 +02:00
parent 2283472034
commit 20babf7a02

View File

@@ -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 )
{ {