From a54432d0cf7233953053fc768a06195b1392362b Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Wed, 10 Oct 2007 02:06:13 +0000 Subject: [PATCH] again --- src/deluge_core.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/deluge_core.cpp b/src/deluge_core.cpp index ed4562e18..8b2b52c7d 100644 --- a/src/deluge_core.cpp +++ b/src/deluge_core.cpp @@ -475,6 +475,8 @@ static PyObject *torrent_set_max_half_open(PyObject *self, PyObject *args) #if defined(_WIN32) if (arg > 8) arg = 8; + if (arg = -1) + arg = 8; #endif M_ses->set_max_half_open_connections(arg);