X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FProtocols%2FUN%2FUNDatagramSocketHandle.cc;h=4d21aec01746d07ea46e3124bdba6804958a7173;hb=1ad3873b372da6187b1fbc645bf276287d2efb54;hp=1f374891debdb7e05abacf389955b8623051048a;hpb=171b7d9c23896219fc63a6c4a75fc86dfd4bb042;p=senf.git diff --git a/Socket/Protocols/UN/UNDatagramSocketHandle.cc b/Socket/Protocols/UN/UNDatagramSocketHandle.cc index 1f37489..4d21aec 100644 --- a/Socket/Protocols/UN/UNDatagramSocketHandle.cc +++ b/Socket/Protocols/UN/UNDatagramSocketHandle.cc @@ -39,8 +39,8 @@ prefix_ void senf::UNDatagramSocketProtocol::init_client() const { int sock = ::socket(PF_UNIX,SOCK_DGRAM,0); if (sock < 0) - throw SystemException(errno); - body().fd(sock); + throwErrno(); + fd(sock); } prefix_ void senf::UNDatagramSocketProtocol::init_client(UNSocketAddress const & address) const