From d73abd9c55dbb801a6d722dc5fd32cf46b8b1b8e Mon Sep 17 00:00:00 2001 From: orignal Date: Wed, 23 Jul 2014 21:45:45 -0400 Subject: [PATCH] fixed crash --- RouterContext.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/RouterContext.cpp b/RouterContext.cpp index 6697e1d7..31d03aa6 100644 --- a/RouterContext.cpp +++ b/RouterContext.cpp @@ -79,7 +79,8 @@ namespace i2p m_SigningPrivateKey.Initialize (i2p::crypto::dsap, i2p::crypto::dsaq, i2p::crypto::dsag, CryptoPP::Integer (m_Keys.signingPrivateKey, 20)); - m_RouterInfo = i2p::data::RouterInfo (i2p::util::filesystem::GetFullPath (ROUTER_INFO)); // TODO + i2p::data::RouterInfo routerInfo(i2p::util::filesystem::GetFullPath (ROUTER_INFO)); // TODO + m_RouterInfo.Update (routerInfo.GetBuffer (), routerInfo.GetBufferLen ()); return true; }