From 196d7e8f7248e7d0fd0e881dfe6c1fe84b5175a7 Mon Sep 17 00:00:00 2001 From: orignal Date: Sat, 26 Dec 2015 09:41:12 -0500 Subject: [PATCH] send correct RouterInfo statistics --- I2PControl.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/I2PControl.cpp b/I2PControl.cpp index 4760caec..a706cd79 100644 --- a/I2PControl.cpp +++ b/I2PControl.cpp @@ -398,11 +398,13 @@ namespace client LogPrint (eLogDebug, "I2PControl RouterInfo"); for (auto it = params.begin (); it != params.end (); it++) { - if (it != params.begin ()) results << ","; LogPrint (eLogDebug, it->first); auto it1 = m_RouterInfoHandlers.find (it->first); if (it1 != m_RouterInfoHandlers.end ()) + { + if (it != params.begin ()) results << ","; (this->*(it1->second))(results); + } else LogPrint (eLogError, "I2PControl RouterInfo unknown request ", it->first); }