From 94a9dfbdfb1c65714c14f4bc1624d018be6714d6 Mon Sep 17 00:00:00 2001 From: Laurent Gomila Date: Mon, 26 Dec 2011 11:56:27 +0100 Subject: [PATCH] Minor fix in comments --- src/SFML/Network/TcpSocket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SFML/Network/TcpSocket.cpp b/src/SFML/Network/TcpSocket.cpp index 238fdabc..16be229a 100644 --- a/src/SFML/Network/TcpSocket.cpp +++ b/src/SFML/Network/TcpSocket.cpp @@ -308,7 +308,7 @@ Socket::Status TcpSocket::Receive(Packet& packet) if (myPendingPacket.SizeReceived < sizeof(myPendingPacket.Size)) { // Loop until we've received the entire size of the packet - // (even a 4 bytes variable may be received in more than one call) + // (even a 4 byte variable may be received in more than one call) while (myPendingPacket.SizeReceived < sizeof(myPendingPacket.Size)) { char* data = reinterpret_cast(&myPendingPacket.Size) + myPendingPacket.SizeReceived;