diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_spanningtree.cpp | 8 | ||||
-rwxr-xr-x | src/svn-rev.sh | 2 |
2 files changed, 7 insertions, 3 deletions
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index ce3d00b8c..c58741190 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -2074,7 +2074,10 @@ class TreeSocket : public InspSocket { // we don't do anything with a line > 2048 if (line.length() > 2048) + { + log(DEBUG,"Line too long!"); return; + } if (!strchr(line.c_str(),' ')) { n.push_back(line); @@ -2095,6 +2098,7 @@ class TreeSocket : public InspSocket { n.push_back(param); *param = count = 0; + pptr = param; item++; } else @@ -2118,13 +2122,13 @@ class TreeSocket : public InspSocket } n.push_back(param); *param = count = 0; + pptr = param; } } } if (*param) - { n.push_back(param); - } + return; } diff --git a/src/svn-rev.sh b/src/svn-rev.sh index 337832030..5e3e69a77 100755 --- a/src/svn-rev.sh +++ b/src/svn-rev.sh @@ -1 +1 @@ -echo 3416 +echo 3418 |