Browse Source

fixed typo

pull/113/head
orignal 10 years ago
parent
commit
dcefe7d221
  1. 2
      NetDb.cpp

2
NetDb.cpp

@ -182,7 +182,7 @@ namespace data
auto newRouter = std::make_shared<RouterInfo> (buf, len); auto newRouter = std::make_shared<RouterInfo> (buf, len);
{ {
std::unique_lock<std::mutex> l(m_RouterInfosMutex); std::unique_lock<std::mutex> l(m_RouterInfosMutex);
m_RouterInfos[r->GetIdentHash ()] = newRouter; m_RouterInfos[newRouter->GetIdentHash ()] = newRouter;
} }
if (newRouter->IsFloodfill ()) if (newRouter->IsFloodfill ())
{ {

Loading…
Cancel
Save