mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-26 10:05:19 +00:00
again
This commit is contained in:
parent
8464c9c0f6
commit
a54432d0cf
@ -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…
x
Reference in New Issue
Block a user