diff options
| author | 2024-08-25 11:37:05 +0100 | |
|---|---|---|
| committer | 2024-08-25 11:37:05 +0100 | |
| commit | ab31cf9d377d56e1f0cf8174a6ed7b6fc809a8b7 (patch) | |
| tree | 61b72bb17ba125480cefb9fc1e03513717d6c3c3 /modules/spanningtree/compat.cpp | |
| parent | Disable log_json on Ubuntu CI. (diff) | |
| parent | Remove prototype for the now removed SendLegacyListModes function. (diff) | |
Merge branch 'insp4' into master.
Diffstat (limited to 'modules/spanningtree/compat.cpp')
| -rw-r--r-- | modules/spanningtree/compat.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/spanningtree/compat.cpp b/modules/spanningtree/compat.cpp index 732f3c06b..585241ea0 100644 --- a/modules/spanningtree/compat.cpp +++ b/modules/spanningtree/compat.cpp @@ -54,8 +54,10 @@ void TreeSocket::WriteLine(const std::string& original_line) cmdstart++; } + size_t sidstart = std::string::npos; if (line[cmdstart] == ':') // Skip the prefix. { + sidstart = cmdstart + 1; cmdstart = NextToken(line, cmdstart); if (cmdstart != std::string::npos) cmdstart++; |
