mirror of
https://github.com/transmission/transmission
synced 2024-12-25 01:03:01 +00:00
(trunk daemon) #3186 "Transmission-remote and --no-downlimit/--no-uplimited" is misparsed in the nightlies
This commit is contained in:
parent
7949e4df47
commit
d8d7704b4e
1 changed files with 2 additions and 2 deletions
|
@ -1863,7 +1863,7 @@ processArgs( const char * host, int port, int argc, const char ** argv )
|
|||
case 'D': if( targs )
|
||||
tr_bencDictAddBool( targs, "downloadLimited", FALSE );
|
||||
else
|
||||
tr_bencDictAddBool( sargs, TR_PREFS_KEY_DSPEED_ENABLED, TRUE );
|
||||
tr_bencDictAddBool( sargs, TR_PREFS_KEY_DSPEED_ENABLED, FALSE );
|
||||
break;
|
||||
case 'u': if( targs ) {
|
||||
tr_bencDictAddInt( targs, "uploadLimit", numarg( optarg ) );
|
||||
|
@ -1876,7 +1876,7 @@ processArgs( const char * host, int port, int argc, const char ** argv )
|
|||
case 'U': if( targs )
|
||||
tr_bencDictAddBool( targs, "uploadLimited", FALSE );
|
||||
else
|
||||
tr_bencDictAddBool( sargs, TR_PREFS_KEY_USPEED_ENABLED, TRUE );
|
||||
tr_bencDictAddBool( sargs, TR_PREFS_KEY_USPEED_ENABLED, FALSE );
|
||||
break;
|
||||
case 930: if( targs )
|
||||
tr_bencDictAddInt( targs, "peer-limit", atoi(optarg) );
|
||||
|
|
Loading…
Reference in a new issue