X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FProtocols%2FUN%2FUNSocketProtocol.cc;h=9a4075cace48b99141d103451852c4afdd6c00d4;hb=a6069ae6d8b265abc2f156d1ea0e12adca3771d5;hp=2e9404dc62c0fe438c4d0cc73837f9237be888af;hpb=15ac5ae4166db4387b4a219b7c42f7fc5a9681a6;p=senf.git diff --git a/Socket/Protocols/UN/UNSocketProtocol.cc b/Socket/Protocols/UN/UNSocketProtocol.cc index 2e9404d..9a4075c 100644 --- a/Socket/Protocols/UN/UNSocketProtocol.cc +++ b/Socket/Protocols/UN/UNSocketProtocol.cc @@ -31,7 +31,7 @@ #include #include #include // for SIOCINQ / SIOCOUTQ -#include +#include "../../../Utils/Logger/SenfLog.hh" #include "../../../Utils/Exception.hh" //#include "UNSocketProtocol.mpp" @@ -42,7 +42,7 @@ prefix_ unsigned senf::UNSocketProtocol::available() { int n; if (::ioctl(fd(),SIOCINQ,&n) < 0) - throw SystemException("Could not call available() on UNSocket."); + SENF_THROW_SYSTEM_EXCEPTION("Could not call available() on UNSocket."); return n; } @@ -53,7 +53,6 @@ prefix_ bool senf::UNSocketProtocol::eof() } prefix_ void senf::UNSocketProtocol::close() - const { check_and_unlink();