summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules/m_spanningtree/treesocket1.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/m_spanningtree/treesocket1.cpp b/src/modules/m_spanningtree/treesocket1.cpp
index 71cca66c4..4a1a27ba0 100644
--- a/src/modules/m_spanningtree/treesocket1.cpp
+++ b/src/modules/m_spanningtree/treesocket1.cpp
@@ -230,6 +230,8 @@ void TreeSocket::OnDataReady()
break;
}
ProcessLine(line);
+ if (!getError().empty())
+ break;
}
Utils->Creator->loopCall = false;
}