projects
/
senf.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Socket/Protocols/INet: Rename all INet6Address members named 'ipv*' to 'inet*'
[senf.git]
/
Socket
/
SocketProtocol.cc
diff --git
a/Socket/SocketProtocol.cc
b/Socket/SocketProtocol.cc
index
ca28664
..
672f21f
100644
(file)
--- a/
Socket/SocketProtocol.cc
+++ b/
Socket/SocketProtocol.cc
@@
-38,9
+38,9
@@
prefix_ void senf::SocketProtocol::close()
const
{
if (::shutdown(body().fd(),SHUT_RDWR) < 0)
- throwErrno();
+ throw SystemException();
if (::close(body().fd()) < 0)
- throwErrno();
+ throw SystemException();
}
prefix_ void senf::SocketProtocol::terminate()