Skip to content

Commit

Permalink
Lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nerzhul committed Sep 27, 2017
1 parent ad7daf7 commit 43951cf
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/network/connectionthreads.h
Expand Up @@ -52,8 +52,8 @@ class ConnectionSendThread : public Thread
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);
Expand Down Expand Up @@ -108,7 +108,8 @@ class ConnectionReceiveThread : public Thread
// 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.
Expand All @@ -119,7 +120,7 @@ class ConnectionReceiveThread : public Thread
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,
Expand Down

0 comments on commit 43951cf

Please sign in to comment.