From 399b74903345fb50d1967b8187bc4601856e275c Mon Sep 17 00:00:00 2001 From: Ryan Huffman Date: Tue, 7 Jul 2015 15:17:16 -0700 Subject: [PATCH] Fix method and const names in NetworkPacket --- libraries/networking/src/NetworkPacket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/networking/src/NetworkPacket.cpp b/libraries/networking/src/NetworkPacket.cpp index fb1c90e392..26c7939aaa 100644 --- a/libraries/networking/src/NetworkPacket.cpp +++ b/libraries/networking/src/NetworkPacket.cpp @@ -24,7 +24,7 @@ NetworkPacket::NetworkPacket(const NetworkPacket& other) : } NetworkPacket::NetworkPacket(const SharedNodePointer& node, const NLPacket& packet) { - if (packet.getSizeWitHeader() && packet.getSizeWithHeader() <= MAX_nlPacket_SIZE) { + if (packet.getSizeWithHeader() && packet.getSizeWithHeader() <= MAX_PACKET_SIZE) { _node = node; _nlPacket = packet; } else {