From 5b2f1d70e87c46ffc22942e96244facaba7a2439 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Thu, 3 Jan 2008 08:17:17 +0000 Subject: [PATCH] per-torrent upload rate limit fix for client_test --- examples/client_test.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/client_test.cpp b/examples/client_test.cpp index c577c481f..d3139ed06 100644 --- a/examples/client_test.cpp +++ b/examples/client_test.cpp @@ -623,6 +623,7 @@ int main(int ac, char* av[]) if (listen_port < 0 || listen_port > 65525) listen_port = 6881; if (preferred_ratio != 0 && preferred_ratio < 1.f) preferred_ratio = 1.f; upload_limit *= 1000; + torrent_upload_limit *= 1000; download_limit *= 1000; if (download_limit <= 0) download_limit = -1; if (upload_limit <= 0) upload_limit = -1;