summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_spanningtree.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp
index 25507fed5..c10798281 100644
--- a/src/modules/m_spanningtree.cpp
+++ b/src/modules/m_spanningtree.cpp
@@ -1341,10 +1341,12 @@ class TreeSocket : public InspSocket
*/
virtual bool OnDataReady()
{
+ log(DEBUG,"TreeSocket::OnDataReady");
char* data = this->Read();
/* Check that the data read is a valid pointer and it has some content */
if (data && *data)
{
+ log(DEBUG,"got some data");
this->in_buffer.append(data);
/* While there is at least one new line in the buffer,
* do something useful (we hope!) with it.
@@ -1381,6 +1383,7 @@ class TreeSocket : public InspSocket
}
if (!this->ProcessLine(ret))
{
+ log(DEBUG,"ProcessLine says no!");
return false;
}
}