fixed i2p socket shutdown

This commit is contained in:
Arvid Norberg
2009-08-26 06:21:05 +00:00
parent 1e45b85c34
commit a80c94363a

View File

@@ -76,7 +76,7 @@ namespace libtorrent
void i2p_connection::close() void i2p_connection::close()
{ {
m_sam_socket->close(); if (m_sam_socket) m_sam_socket->close();
} }
void i2p_connection::open(proxy_settings const& s, i2p_stream::handler_type const& handler) void i2p_connection::open(proxy_settings const& s, i2p_stream::handler_type const& handler)