projects
/
senf.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Utils: Implement more flexible SystemException
[senf.git]
/
Socket
/
Protocols
/
UN
/
UNDatagramSocketHandle.cc
diff --git
a/Socket/Protocols/UN/UNDatagramSocketHandle.cc
b/Socket/Protocols/UN/UNDatagramSocketHandle.cc
index
1f37489
..
a91f49e
100644
(file)
--- a/
Socket/Protocols/UN/UNDatagramSocketHandle.cc
+++ b/
Socket/Protocols/UN/UNDatagramSocketHandle.cc
@@
-39,7
+39,7
@@
prefix_ void senf::UNDatagramSocketProtocol::init_client() const
{
int sock = ::socket(PF_UNIX,SOCK_DGRAM,0);
if (sock < 0)
- throw SystemException(errno);
+ throwErrno();
body().fd(sock);
}