From: Guilherme Maciel Ferreira Date: Tue, 23 Aug 2011 03:58:31 +0000 (-0300) Subject: Small code formatting X-Git-Tag: v1.1^2~2 X-Git-Url: http://developer.intra2net.com/git/?a=commitdiff_plain;h=2e1869671d139fe04d65d10160db177dcc229850;p=pingcheck Small code formatting --- diff --git a/src/tcp/tcpheader.cpp b/src/tcp/tcpheader.cpp index d114e20..e3a3254 100644 --- a/src/tcp/tcpheader.cpp +++ b/src/tcp/tcpheader.cpp @@ -62,47 +62,47 @@ uint32_t TcpHeader::get_acknowledgment_number() const uint8_t TcpHeader::get_header_length() const { - return (Payload[12] & 0xF0) >> 4; + return ( Payload[12] & 0xF0 ) >> 4; } bool TcpHeader::get_congestion_window_reduced() const { - return (Payload[13] & 0x80); + return ( Payload[13] & 0x80 ); } bool TcpHeader::get_ecn_echo() const { - return (Payload[13] & 0x40); + return ( Payload[13] & 0x40 ); } bool TcpHeader::get_urgent() const { - return (Payload[13] & 0x20); + return ( Payload[13] & 0x20 ); } bool TcpHeader::get_acknowledgment() const { - return (Payload[13] & 0x10); + return ( Payload[13] & 0x10 ); } bool TcpHeader::get_push() const { - return (Payload[13] & 0x08); + return ( Payload[13] & 0x08 ); } bool TcpHeader::get_reset() const { - return (Payload[13] & 0x04); + return ( Payload[13] & 0x04 ); } bool TcpHeader::get_synchronize() const { - return (Payload[13] & 0x02); + return ( Payload[13] & 0x02 ); } bool TcpHeader::get_finish() const { - return (Payload[13] & 0x01); + return ( Payload[13] & 0x01 ); } uint16_t TcpHeader::get_window_size() const