mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-13 05:20:00 -08:00
[Format] Small fixup.
This commit is contained in:
parent
9588e1960d
commit
b79b8c1e45
1 changed files with 2 additions and 2 deletions
|
|
@ -173,8 +173,8 @@ void RemoteClient::processServerIdentificationEvent(const Event_ServerIdentifica
|
||||||
// Quote the server-supplied strings in the log and limit their size.
|
// Quote the server-supplied strings in the log and limit their size.
|
||||||
const QString serverName = QString::fromStdString(event.server_name()).left(256);
|
const QString serverName = QString::fromStdString(event.server_name()).left(256);
|
||||||
const QString serverVersion = QString::fromStdString(event.server_version()).left(256);
|
const QString serverVersion = QString::fromStdString(event.server_version()).left(256);
|
||||||
qCInfo(RemoteClientLog) << "Server identification:" << serverName
|
qCInfo(RemoteClientLog) << "Server identification:" << serverName << "version" << serverVersion
|
||||||
<< "version" << serverVersion << "protocol version" << event.protocol_version();
|
<< "protocol version" << event.protocol_version();
|
||||||
if (event.protocol_version() != protocolVersion) {
|
if (event.protocol_version() != protocolVersion) {
|
||||||
emit protocolVersionMismatch(protocolVersion, event.protocol_version());
|
emit protocolVersionMismatch(protocolVersion, event.protocol_version());
|
||||||
setStatus(StatusDisconnecting);
|
setStatus(StatusDisconnecting);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue