summaryrefslogtreecommitdiff
path: root/src/network/core/tcp.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-11-30 13:38:46 +0000
committerrubidium <rubidium@openttd.org>2010-11-30 13:38:46 +0000
commitb6c2216749765e4d29fc3fa05dc1023c2c643cce (patch)
treeabc3302f27c09c0e0494f4691e5989aa514116e2 /src/network/core/tcp.cpp
parent9c83a8975fe93568d4a3c44bd273e846b18d8e3f (diff)
downloadopenttd-b6c2216749765e4d29fc3fa05dc1023c2c643cce.tar.xz
(svn r21358) -Codechange: make some network function names conform to coding style
Diffstat (limited to 'src/network/core/tcp.cpp')
-rw-r--r--src/network/core/tcp.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/network/core/tcp.cpp b/src/network/core/tcp.cpp
index c35b029a2..66f19107c 100644
--- a/src/network/core/tcp.cpp
+++ b/src/network/core/tcp.cpp
@@ -56,7 +56,7 @@ NetworkRecvStatus NetworkTCPSocketHandler::CloseConnection(bool error)
* if the OS-network-buffer is full)
* @param packet the packet to send
*/
-void NetworkTCPSocketHandler::Send_Packet(Packet *packet)
+void NetworkTCPSocketHandler::SendPacket(Packet *packet)
{
Packet *p;
assert(packet != NULL);
@@ -90,7 +90,7 @@ void NetworkTCPSocketHandler::Send_Packet(Packet *packet)
* @return \c true if a (part of a) packet could be sent and
* the connection is not closed yet.
*/
-bool NetworkTCPSocketHandler::Send_Packets(bool closing_down)
+bool NetworkTCPSocketHandler::SendPackets(bool closing_down)
{
ssize_t res;
Packet *p;
@@ -141,7 +141,7 @@ bool NetworkTCPSocketHandler::Send_Packets(bool closing_down)
* @param status the variable to store the status into
* @return the received packet (or NULL when it didn't receive one)
*/
-Packet *NetworkTCPSocketHandler::Recv_Packet()
+Packet *NetworkTCPSocketHandler::ReceivePacket()
{
ssize_t res;