From 25c188496131f71ae752e6ae40b147e7f4e48e4a Mon Sep 17 00:00:00 2001 From: orignal Date: Thu, 20 Oct 2016 15:20:08 -0400 Subject: [PATCH] correct stream termination --- I2PTunnel.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/I2PTunnel.cpp b/I2PTunnel.cpp index be48b83a..0ce9a7e3 100644 --- a/I2PTunnel.cpp +++ b/I2PTunnel.cpp @@ -175,7 +175,9 @@ namespace client Write (m_StreamBuffer, bytes_transferred); // postpone termination else Terminate (); - } + } + else + Terminate (); } else Write (m_StreamBuffer, bytes_transferred);