Package: transmission-cli
Version: 1.00-1
Severity: normal
Tags: patch

The transmissioncli program -d and -u options limit the download and upload
rates.  Rates of zero should be accepted, but are ignored.  Patch:

--- cli/transmissioncli.c~      2008-01-03 16:05:02.000000000 -0800
+++ cli/transmissioncli.c       2008-01-20 08:16:37.000000000 -0800
@@ -144,7 +144,7 @@
                      bindPort,                /* public port */
                      TR_ENCRYPTION_PREFERRED, /* encryption mode */
-                     uploadLimit > 0,         /* use upload speed limit? */
+                     uploadLimit >= 0,        /* use upload speed limit? */
                      uploadLimit,             /* upload speed limit */
-                     downloadLimit > 0,       /* use download speed limit? */
+                     downloadLimit >= 0,      /* use download speed limit? */
                      downloadLimit,           /* download speed limit */
                      512,                     /* globalPeerLimit */



-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.23-1-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages transmission-cli depends on:
ii  libc6                         2.7-6      GNU C Library: Shared libraries
ii  libssl0.9.8                   0.9.8g-4   SSL shared libraries
ii  transmission-common           1.00-1     free, lightweight BitTorrent clien

transmission-cli recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to