Skip to content

Commit

Permalink
Server: Log parsed --serverinfo
Browse files Browse the repository at this point in the history
  • Loading branch information
hoffie committed Sep 14, 2022
1 parent da1c9ae commit bf309e1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/serverlist.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,15 @@ CServerListManager::CServerListManager ( const quint16 iNPortNum,
ThisServerListEntry.eCountry = qlCountry;
}
}
qInfo() << qUtf8Printable ( QString ( "Using server info: name = \"%1\", city = \"%2\", country = \"%3\" (%4)" )
.arg ( ThisServerListEntry.strName )
.arg ( ThisServerListEntry.strCity )
.arg ( slServInfoSeparateParams[2] )
.arg ( QLocale::countryToString ( ThisServerListEntry.eCountry ) ) );
}
else
{
qWarning() << "Ignoring invalid serverinfo, please verify the parameter syntax.";
}

// per definition, the very first entry is this server and this entry will
Expand Down

0 comments on commit bf309e1

Please sign in to comment.