mirror of
https://github.com/sirjonasxx/G-Earth.git
synced 2024-11-26 18:30:52 +01:00
Added newline for error message when packet length exceeds max
This commit is contained in:
parent
0547d84d81
commit
20cf678d4b
@ -106,7 +106,7 @@ public final class NetworkExtensionsProducer implements ExtensionProducer {
|
|||||||
if (headerId == NetworkExtensionInfo.INCOMING_MESSAGES_IDS.EXTENSIONINFO) {
|
if (headerId == NetworkExtensionInfo.INCOMING_MESSAGES_IDS.EXTENSIONINFO) {
|
||||||
|
|
||||||
if (bodyLength > MAX_PACKET_BODY_SIZE) {
|
if (bodyLength > MAX_PACKET_BODY_SIZE) {
|
||||||
System.err.printf("Incoming packet(h=%d, l=%d) exceeds max packet body size %d.", headerId, bodyLength, MAX_PACKET_BODY_SIZE);
|
System.err.printf("Incoming packet(h=%d, l=%d) exceeds max packet body size %d.\n", headerId, bodyLength, MAX_PACKET_BODY_SIZE);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user