mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-22 00:59:08 +01:00
fixed crash
This commit is contained in:
parent
025d9d3276
commit
723f35ec5a
1 changed files with 1 additions and 1 deletions
|
@ -178,7 +178,7 @@ namespace client
|
||||||
{
|
{
|
||||||
if (bytes_transferred > 0)
|
if (bytes_transferred > 0)
|
||||||
Write (m_StreamBuffer, bytes_transferred); // postpone termination
|
Write (m_StreamBuffer, bytes_transferred); // postpone termination
|
||||||
else if (ecode == boost::asio::error::timed_out && m_Stream->IsOpen ())
|
else if (ecode == boost::asio::error::timed_out && m_Stream && m_Stream->IsOpen ())
|
||||||
StreamReceive ();
|
StreamReceive ();
|
||||||
else
|
else
|
||||||
Terminate ();
|
Terminate ();
|
||||||
|
|
Loading…
Add table
Reference in a new issue