mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-26 01:55:15 +00:00
remove unneeded includes and cleanup
This commit is contained in:
parent
11ae69c83d
commit
547d378ceb
@ -55,9 +55,6 @@
|
|||||||
#include "libtorrent/natpmp.hpp"
|
#include "libtorrent/natpmp.hpp"
|
||||||
#include "libtorrent/extensions/metadata_transfer.hpp"
|
#include "libtorrent/extensions/metadata_transfer.hpp"
|
||||||
#include "libtorrent/extensions/ut_pex.hpp"
|
#include "libtorrent/extensions/ut_pex.hpp"
|
||||||
#include <iostream>
|
|
||||||
#include <sstream>
|
|
||||||
using namespace std;
|
|
||||||
using namespace boost::filesystem;
|
using namespace boost::filesystem;
|
||||||
using namespace libtorrent;
|
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_upload_rate_limit(-1);
|
||||||
|
|
||||||
M_ses->set_settings(*M_settings);
|
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);
|
M_ses->add_extension(&libtorrent::create_metadata_plugin);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user