From: tho Date: Fri, 24 Jul 2009 14:44:02 +0000 (+0000) Subject: Socket/SocketHandle.test: bugfix of Rev. 1277 X-Git-Url: http://g0dil.de/git?a=commitdiff_plain;h=2b5a7e8fb4e5f89fddcb31fcadf5522e75f4062b;p=senf.git Socket/SocketHandle.test: bugfix of Rev. 1277 git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1280 270642c3-0616-0410-b53a-bc976706d245 --- diff --git a/Packets/80221Bundle/MIHPacket.hh b/Packets/80221Bundle/MIHPacket.hh index cafac5a..fa819b5 100644 --- a/Packets/80221Bundle/MIHPacket.hh +++ b/Packets/80221Bundle/MIHPacket.hh @@ -243,6 +243,7 @@ namespace senf { static factory_t nextPacketType(packet p); enum ResponseStatus { Success, UnspecifiedFailure, Rejected, AuthorizationFailure, NetworkError }; + enum Opcode { Request=1, Response, Indication }; }; /** \brief MIH packet typedef */ diff --git a/Socket/SocketHandle.test.cc b/Socket/SocketHandle.test.cc index bc523a3..234ca02 100644 --- a/Socket/SocketHandle.test.cc +++ b/Socket/SocketHandle.test.cc @@ -107,7 +107,7 @@ BOOST_AUTO_UNIT_TEST(socketHandle) } // Ensure, the destructor is called and calls the correct close() implementation - BOOST_CHECK( senf::test::SomeSocketProtocol::closeCount() > 1u ); + BOOST_CHECK( senf::test::SomeSocketProtocol::closeCount() >= 1u ); } ///////////////////////////////cc.e////////////////////////////////////////