projects
/
senf.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Fix SCons 1.2.0 build failure
[senf.git]
/
Socket
/
ProtocolServerSocketHandle.cti
diff --git
a/Socket/ProtocolServerSocketHandle.cti
b/Socket/ProtocolServerSocketHandle.cti
index
2cd7753
..
26c2b69
100644
(file)
--- a/
Socket/ProtocolServerSocketHandle.cti
+++ b/
Socket/ProtocolServerSocketHandle.cti
@@
-91,7
+91,11
@@
senf::ProtocolServerSocketHandle<SocketProtocol>::state(SocketStateMap & map,
unsigned lod)
{
map["handle"] = prettyName(typeid(*this));
- this->body().state(map,lod);
+ if (this->valid()) {
+ map["valid"] << "true";
+ this->body().state(map,lod);
+ } else
+ map["valid"] << "false";
}
template <class SocketProtocol>