remove debug printouts

This commit is contained in:
Marcos Pinto 2007-06-15 23:23:17 +00:00
parent ec03ff3085
commit 57d5ae802f
1 changed files with 0 additions and 8 deletions

View File

@ -1233,11 +1233,9 @@ static PyObject *torrent_use_upnp(PyObject *self, PyObject *args)
PyArg_ParseTuple(args, "i", &action);
if (action){
printf("Starting UPnP\r\n");
M_ses->start_upnp();
}
else{
printf("Stopping natpmp\r\n");
M_ses->stop_upnp();
}
@ -1252,11 +1250,9 @@ static PyObject *torrent_use_natpmp(PyObject *self, PyObject *args)
PyArg_ParseTuple(args, "i", &action);
if (action){
printf("Starting NAT-PMP\r\n");
M_ses->start_natpmp();
}
else{
printf("Stopping NAT-PMP\r\n");
M_ses->stop_natpmp();
}
@ -1270,12 +1266,8 @@ static PyObject *torrent_use_utpex(PyObject *self, PyObject *args)
PyArg_ParseTuple(args, "i", &action);
if (action){
printf("Starting UTPEX\r\n");
M_ses->add_extension(&libtorrent::create_ut_pex_plugin);
}
else{
printf("You must restart to remove UTPEX\r\n");
}
Py_INCREF(Py_None); return Py_None;
}