fix shutdown issue when building without SSL

This commit is contained in:
Arvid Norberg 2012-01-29 23:04:22 +00:00
parent 639039a94e
commit c77ca19140
1 changed files with 2 additions and 0 deletions

View File

@ -3660,6 +3660,8 @@ namespace libtorrent
default: m_socket->close(e); break;
}
#undef CASE
#else
m_socket->close(e);
#endif // TORRENT_USE_OPENSSL
m_ses.close_connection(this, ec);