aboutsummaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorLoic Blot <loic.blot@unix-experience.fr>2017-09-27 22:41:50 +0200
committerLoic Blot <loic.blot@unix-experience.fr>2017-09-27 22:41:50 +0200
commit43951cf6460008a01014fa4ee256b6ddcdc842a6 (patch)
tree7f56702093d615390ddee9095356c0ac92cee37f /src/network
parentad7daf7b52348e1b71aa803be10de5b2134cba11 (diff)
downloadminetest-43951cf6460008a01014fa4ee256b6ddcdc842a6.tar.gz
minetest-43951cf6460008a01014fa4ee256b6ddcdc842a6.tar.bz2
minetest-43951cf6460008a01014fa4ee256b6ddcdc842a6.zip
Lint fix
Diffstat (limited to 'src/network')
-rw-r--r--src/network/connectionthreads.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/network/connectionthreads.h b/src/network/connectionthreads.h
index 57825e1a1..15c247f76 100644
--- a/src/network/connectionthreads.h
+++ b/src/network/connectionthreads.h
@@ -52,8 +52,8 @@ public:
private:
void runTimeouts(float dtime);
void rawSend(const BufferedPacket &packet);
- bool rawSendAsPacket(
- session_t peer_id, u8 channelnum, SharedBuffer<u8> data, bool reliable);
+ bool rawSendAsPacket(session_t peer_id, u8 channelnum, SharedBuffer<u8> data,
+ bool reliable);
void processReliableCommand(ConnectionCommand &c);
void processNonReliableCommand(ConnectionCommand &c);
@@ -108,7 +108,8 @@ private:
// If found, sets peer_id and dst
bool getFromBuffers(session_t &peer_id, SharedBuffer<u8> &dst);
- bool checkIncomingBuffers(Channel *channel, session_t &peer_id, SharedBuffer<u8> &dst);
+ bool checkIncomingBuffers(
+ Channel *channel, session_t &peer_id, SharedBuffer<u8> &dst);
/*
Processes a packet with the basic header stripped out.
@@ -119,7 +120,7 @@ private:
reliable: true if recursing into a reliable packet
*/
SharedBuffer<u8> processPacket(Channel *channel, SharedBuffer<u8> packetdata,
- session_t peer_id, u8 channelnum, bool reliable);
+ session_t peer_id, u8 channelnum, bool reliable);
SharedBuffer<u8> handlePacketType_Control(Channel *channel,
SharedBuffer<u8> packetdata, Peer *peer, u8 channelnum,