summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_spanningtree.cpp')
-rw-r--r--src/modules/m_spanningtree.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp
index c58741190..869aa7a69 100644
--- a/src/modules/m_spanningtree.cpp
+++ b/src/modules/m_spanningtree.cpp
@@ -2096,6 +2096,8 @@ class TreeSocket : public InspSocket
s.get(c);
if (c == ' ')
{
+ log(DEBUG,"Pushback(1) '%s'",param);
+ *pptr = 0;
n.push_back(param);
*param = count = 0;
pptr = param;
@@ -2120,6 +2122,8 @@ class TreeSocket : public InspSocket
count++;
}
}
+ log(DEBUG,"Pushback(2) '%s'",param);
+ *pptr = 0;
n.push_back(param);
*param = count = 0;
pptr = param;
@@ -2127,7 +2131,11 @@ class TreeSocket : public InspSocket
}
}
if (*param)
+ {
+ *pptr = 0;
+ log(DEBUG,"Pushback(3) '%s'",param);
n.push_back(param);
+ }
return;
}