From 57d5ae802f5b17e5a923c69fe9dc5d86300fe88e Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Fri, 15 Jun 2007 23:23:17 +0000 Subject: [PATCH] remove debug printouts --- src/deluge_core.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/deluge_core.cpp b/src/deluge_core.cpp index cfe600f61..096c99ffd 100644 --- a/src/deluge_core.cpp +++ b/src/deluge_core.cpp @@ -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; }