From dcefe7d221c8a4091ca2e924aa27e8773d8db0d0 Mon Sep 17 00:00:00 2001 From: orignal Date: Fri, 21 Nov 2014 13:49:49 -0500 Subject: [PATCH] fixed typo --- NetDb.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NetDb.cpp b/NetDb.cpp index a819fd8a..ee225b00 100644 --- a/NetDb.cpp +++ b/NetDb.cpp @@ -182,7 +182,7 @@ namespace data auto newRouter = std::make_shared (buf, len); { std::unique_lock l(m_RouterInfosMutex); - m_RouterInfos[r->GetIdentHash ()] = newRouter; + m_RouterInfos[newRouter->GetIdentHash ()] = newRouter; } if (newRouter->IsFloodfill ()) {