From 5e1f3a4939257145f1425479bda19eff30ef2746 Mon Sep 17 00:00:00 2001 From: orignal Date: Wed, 23 Apr 2014 15:09:01 -0400 Subject: [PATCH] rolled back --- Streaming.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Streaming.cpp b/Streaming.cpp index b338c8c6..d5e3fbcd 100644 --- a/Streaming.cpp +++ b/Streaming.cpp @@ -284,9 +284,11 @@ namespace stream { const I2NPMessage * leaseSet = nullptr; - leaseSet = m_LocalDestination->GetLeaseSet (); - if (!leaseSet) - return false; + if (m_LeaseSetUpdated) + { + leaseSet = m_LocalDestination->GetLeaseSet (); + m_LeaseSetUpdated = false; + } I2NPMessage * msg = i2p::garlic::routing.WrapMessage (m_RemoteLeaseSet, CreateDataMessage (this, buf, len), leaseSet);