minor fixes

This commit is contained in:
Arvid Norberg 2011-03-01 21:57:03 +00:00
parent c38adc4183
commit 83e8700615
2 changed files with 2 additions and 1 deletions

View File

@ -899,7 +899,7 @@ namespace libtorrent
#if defined TORRENT_VERBOSE_LOGGING || defined TORRENT_ERROR_LOGGING
peer_log("*** CONNECTION CLOSED");
#endif
TORRENT_ASSERT(!m_ses.has_peer(this));
// TORRENT_ASSERT(!m_ses.has_peer(this));
TORRENT_ASSERT(m_request_queue.empty());
TORRENT_ASSERT(m_download_queue.empty());
#ifdef TORRENT_DEBUG

View File

@ -33,6 +33,7 @@ POSSIBILITY OF SUCH DAMAGE.
#include <iostream>
#include <boost/config.hpp>
#include <fcntl.h>
#include <stdio.h>
int test_main();