aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p@janouch.name>2018-11-02 18:28:04 +0100
committerPřemysl Janouch <p@janouch.name>2018-11-02 18:30:36 +0100
commit36454fb90c0362130c05c69953395b301c34f755 (patch)
tree70cc08396b26b949141aed4a77a819059ab25c95
parent6b1ff048b84dda376c785b599fdd31f018cc902a (diff)
downloadsdn-36454fb90c0362130c05c69953395b301c34f755.tar.gz
sdn-36454fb90c0362130c05c69953395b301c34f755.tar.xz
sdn-36454fb90c0362130c05c69953395b301c34f755.zip
Fix history loading
-rw-r--r--sdn.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sdn.cpp b/sdn.cpp
index 092976f..4ef3560 100644
--- a/sdn.cpp
+++ b/sdn.cpp
@@ -1298,7 +1298,7 @@ fun load_bindings () {
}
fun load_history_level (const vector<string> &v) {
- if (v.size () != 6)
+ if (v.size () != 7)
return;
// Not checking the hostname and parent PID right now since we can't merge
g.levels.push_back ({stoi (v.at (4)), stoi (v.at (5)), v.at (3), v.at (6)});