diff --git a/PPI/ForwardSwitch.cci b/PPI/ForwardSwitch.cci index de3874d63b260ec52fede07092ce07964a5678fa..9447bab19ca0ff640c37e9304bbc946deaa0842c 100644 --- a/PPI/ForwardSwitch.cci +++ b/PPI/ForwardSwitch.cci @@ -39,21 +39,21 @@ prefix_ void senf::ppi::module::ForwardSwitch::onRequest() } prefix_ bool senf::ppi::module::ForwardSwitch::forward(){ - return forward_; + return forward_; } prefix_ bool senf::ppi::module::ForwardSwitch::forward(bool state){ - forward_ = state; - return state; + forward_ = state; + return state; } prefix_ bool senf::ppi::module::ForwardSwitch::stopForwarding(){ - return forward(false); + return forward(false); } prefix_ bool senf::ppi::module::ForwardSwitch::startForwarding(){ - return forward(true); + return forward(true); } #undef prefix_ diff --git a/PPI/ForwardSwitch.hh b/PPI/ForwardSwitch.hh index a2514c506f27e2ce0377ebba2dc920a212d394a5..2b2fa71da86636d9bffad367662528b5f15fbbaf 100644 --- a/PPI/ForwardSwitch.hh +++ b/PPI/ForwardSwitch.hh @@ -44,8 +44,8 @@ public: bool stopForwarding(); bool startForwarding(); private: - void onRequest(); - bool forward_; + void onRequest(); + bool forward_; }; diff --git a/Packets/MPEGDVBBundle/DTCPPacket.hh b/Packets/MPEGDVBBundle/DTCPPacket.hh index e619c1110df8a5cff697728a96a8390f3fd32d50..128cac0ea5f3c26b9945eb2dac708d95e2fe346c 100644 --- a/Packets/MPEGDVBBundle/DTCPPacket.hh +++ b/Packets/MPEGDVBBundle/DTCPPacket.hh @@ -85,7 +85,7 @@ namespace senf { SENF_PARSER_BITFIELD ( versionNumber, 4, unsigned ); // must be 1 SENF_PARSER_BITFIELD ( command, 4, unsigned ); - enum Command { JOIN=1, LEAVE=2 }; + enum Command { JOIN=1, LEAVE=2 }; SENF_PARSER_FIELD ( interval, UInt8Parser ); // should be 5 SENF_PARSER_FIELD ( sequenceNumber, UInt16Parser ); @@ -96,16 +96,16 @@ namespace senf { SENF_PARSER_FIELD ( tunnelProtocol, UInt8Parser ); SENF_PARSER_FIELD_RO ( fbipCount, UInt8Parser ); - SENF_PARSER_PRIVATE_FIELD ( reserved1_, UInt8Parser ); //must be zero + SENF_PARSER_PRIVATE_FIELD ( reserved1_, UInt8Parser ); // must be zero // Go back to fbipCount so the variant has access to that field SENF_PARSER_GOTO( fbipCount ); SENF_PARSER_VARIANT ( fbipList_, ipVersion, - ( ids(na, has_v4fbipList, init_v4fbipList, - key(4, DTCPIPv4AddressListParser)) ) - ( ids(na, has_v6fbipList, init_v6fbipList, - key(6, DTCPIPv6AddressListParser)) ) ); + ( ids(na, has_v4fbipList, init_v4fbipList, + key(4, DTCPIPv4AddressListParser)) ) + ( ids(na, has_v6fbipList, init_v6fbipList, + key(6, DTCPIPv6AddressListParser)) ) ); // We define the two variant accessors ourselves so we can directly return the vector and // not the collection parser which contains the vector ... diff --git a/Socket/Protocols/INet/ConnectedRawINetSocketHandle.cc b/Socket/Protocols/INet/ConnectedRawINetSocketHandle.cc index bb0383140e78702ac98c2b5f5d203d1e9ab95e37..47ca1e1716bc96a29d6bb58bd4a9e68127fdb1e0 100644 --- a/Socket/Protocols/INet/ConnectedRawINetSocketHandle.cc +++ b/Socket/Protocols/INet/ConnectedRawINetSocketHandle.cc @@ -83,9 +83,9 @@ senf::ConnectedRawV6SocketProtocol::init_client(int const & protocol, INet6Socke const { init_client(protocol); - if(address.boolean_test()){ - //only connect if socket is not [::]:0, this results in an irreversible binding to the lo interface (linux 2.6.15) - clientHandle().connect(address); + if(address.boolean_test()) { + //only connect if socket is not [::]:0, this results in an irreversible binding to the lo interface (linux 2.6.15) + clientHandle().connect(address); } } diff --git a/doclib/senf.css b/doclib/senf.css index 61e0b3e4ae1ec13423ca5d132fc336638acf35be..f253059bb7ea5e8ab71ade8ab40362f31e2ea449 100644 --- a/doclib/senf.css +++ b/doclib/senf.css @@ -549,7 +549,7 @@ p.commalist { } h4 { - font-size: 100%; + font-size: 100%; margin-bottom: .4em; }