mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-09 01:48:40 +00:00
again
This commit is contained in:
parent
8464c9c0f6
commit
a54432d0cf
1 changed files with 2 additions and 0 deletions
|
@ -475,6 +475,8 @@ static PyObject *torrent_set_max_half_open(PyObject *self, PyObject *args)
|
||||||
#if defined(_WIN32)
|
#if defined(_WIN32)
|
||||||
if (arg > 8)
|
if (arg > 8)
|
||||||
arg = 8;
|
arg = 8;
|
||||||
|
if (arg = -1)
|
||||||
|
arg = 8;
|
||||||
#endif
|
#endif
|
||||||
M_ses->set_max_half_open_connections(arg);
|
M_ses->set_max_half_open_connections(arg);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue