From 36454fb90c0362130c05c69953395b301c34f755 Mon Sep 17 00:00:00 2001 From: Přemysl Janouch Date: Fri, 2 Nov 2018 18:28:04 +0100 Subject: Fix history loading --- sdn.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 &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)}); -- cgit v1.2.3-70-g09d2