minor unit test fixes
This commit is contained in:
parent
7545c15fc2
commit
6dcac0a33f
|
@ -1216,7 +1216,7 @@ void web_server_thread(int* port, bool ssl, bool chunked)
|
|||
|
||||
while (!p.finished())
|
||||
{
|
||||
TORRENT_ASSERT(len < int(sizeof(buf)));
|
||||
TORRENT_ASSERT(len <= int(sizeof(buf)));
|
||||
size_t received = 0;
|
||||
bool done = false;
|
||||
bool timed_out = false;
|
||||
|
|
|
@ -40,8 +40,11 @@ POSSIBILITY OF SUCH DAMAGE.
|
|||
#include "libtorrent/create_torrent.hpp"
|
||||
#include "libtorrent/thread.hpp"
|
||||
#include "libtorrent/alert_types.hpp"
|
||||
#include "libtorrent/file.hpp"
|
||||
#include <boost/tuple/tuple.hpp>
|
||||
|
||||
#include "setup_transfer.hpp"
|
||||
|
||||
#include <iostream>
|
||||
|
||||
using namespace libtorrent;
|
||||
|
|
Loading…
Reference in New Issue