From 56822d9424725c8a28a1281325f602337c6dcf24 Mon Sep 17 00:00:00 2001 From: orignal Date: Tue, 7 Apr 2015 17:22:14 -0400 Subject: [PATCH] fixed null pointer exception --- NetDb.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NetDb.cpp b/NetDb.cpp index a79489ab..38bc56e9 100644 --- a/NetDb.cpp +++ b/NetDb.cpp @@ -874,7 +874,7 @@ namespace data { uint32_t replyToken = i2p::context.GetRandomNumberGenerator ().GenerateWord32 (); LogPrint ("Publishing our RouterInfo to ", floodfill->GetIdentHashAbbreviation (), ". reply token=", replyToken); - transports.SendMessage (floodfill->GetIdentHash (), CreateDatabaseStoreMsg (std::make_shared(nullptr), replyToken)); + transports.SendMessage (floodfill->GetIdentHash (), CreateDatabaseStoreMsg (i2p::context.GetSharedRouterInfo (), replyToken)); excluded.insert (floodfill->GetIdentHash ()); } }