minor debug output fix

This commit is contained in:
Friedrich Schöller 2009-07-24 18:28:09 +02:00
parent ea47a484fe
commit dadd460972
2 changed files with 2 additions and 2 deletions

View File

@ -151,7 +151,7 @@ bool Client::handleEchoData(const TunnelHeader &header, int dataLength, uint32_t
break;
}
syslog(LOG_DEBUG, "invalid packet type: %d, state:\n", header.type, state);
syslog(LOG_DEBUG, "invalid packet type: %d, state: %d", header.type, state);
return true;
}

View File

@ -198,7 +198,7 @@ bool Server::handleEchoData(const TunnelHeader &header, int dataLength, uint32_t
return true;
}
syslog(LOG_DEBUG, "invalid packet from: %s, type: %d, state:\n", Utility::formatIp(realIp).c_str(), header.type, client->state);
syslog(LOG_DEBUG, "invalid packet from: %s, type: %d, state: %d", Utility::formatIp(realIp).c_str(), header.type, client->state);
return true;
}