remove unneeded includes and cleanup

This commit is contained in:
Marcos Pinto 2007-06-26 02:07:17 +00:00
parent 11ae69c83d
commit 547d378ceb
1 changed files with 1 additions and 4 deletions

View File

@ -55,9 +55,6 @@
#include "libtorrent/natpmp.hpp"
#include "libtorrent/extensions/metadata_transfer.hpp"
#include "libtorrent/extensions/ut_pex.hpp"
#include <iostream>
#include <sstream>
using namespace std;
using namespace boost::filesystem;
using namespace libtorrent;
@ -337,7 +334,7 @@ static PyObject *torrent_init(PyObject *self, PyObject *args)
M_ses->set_upload_rate_limit(-1);
M_ses->set_settings(*M_settings);
M_ses->set_severity_level(alert::info);
M_ses->set_severity_level(alert::debug);
M_ses->add_extension(&libtorrent::create_metadata_plugin);