projects
/
senf.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Socket: Fix handle.state() on invalid handles
[senf.git]
/
PPI
/
SocketSink.ct
diff --git
a/PPI/SocketSink.ct
b/PPI/SocketSink.ct
index
69726a2
..
4864625
100644
(file)
--- a/
PPI/SocketSink.ct
+++ b/
PPI/SocketSink.ct
@@
-125,7
+125,7
@@
prefix_ void senf::ppi::module::PassiveSocketSink<Writer>::write()
template <class Writer>
prefix_ void senf::ppi::module::PassiveSocketSink<Writer>::checkThrottle()
{
- if (handle_)
+ if (handle_.valid())
input.unthrottle();
else
input.throttle();