From bbfd34856fd8ec8a4fd0b401a650a256aa05a617 Mon Sep 17 00:00:00 2001 From: orignal Date: Tue, 27 Oct 2026 10:31:04 -0400 Subject: [PATCH] reset from before saving packet --- libi2pd/Streaming.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libi2pd/Streaming.cpp b/libi2pd/Streaming.cpp index 5f6beec4..fe7171e8 100644 --- a/libi2pd/Streaming.cpp +++ b/libi2pd/Streaming.cpp @@ -405,7 +405,8 @@ namespace stream void Stream::SavePacket (Packet * packet) { - if (!m_SavedPackets.insert (packet).second) + packet->from = nullptr; + if (!m_SavedPackets.emplace (packet).second) m_LocalDestination.DeletePacket (packet); }