Fix #274 (hack).

This commit is contained in:
EinMByte 2015-09-28 09:46:29 +02:00
parent 68cf69fabc
commit 4a69a0a831

View file

@ -466,7 +466,7 @@ namespace client
bool success = false; bool success = false;
i2p::util::http::url u (m_Link); i2p::util::http::url u (m_Link);
i2p::data::IdentHash ident; i2p::data::IdentHash ident;
if (m_Book.GetIdentHash (u.host_, ident)) if (m_Book.GetIdentHash (u.host_, ident) && m_Book.getSharedLocalDestination())
{ {
std::condition_variable newDataReceived; std::condition_variable newDataReceived;
std::mutex newDataReceivedMutex; std::mutex newDataReceivedMutex;