mirror of
https://github.com/transmission/transmission
synced 2024-12-24 16:52:39 +00:00
(trunk cli) fix command-line arg mixup for encryption preference, reported by er13 and Whoopie
This commit is contained in:
parent
ead8254b85
commit
b0e9cf7b77
1 changed files with 2 additions and 2 deletions
|
@ -530,9 +530,9 @@ parseCommandLine( tr_benc * d, int argc, const char ** argv )
|
|||
break;
|
||||
case 910: tr_bencDictAddInt( d, TR_PREFS_KEY_ENCRYPTION, TR_ENCRYPTION_REQUIRED );
|
||||
break;
|
||||
case 911: tr_bencDictAddInt( d, TR_PREFS_KEY_ENCRYPTION, TR_CLEAR_PREFERRED );
|
||||
case 911: tr_bencDictAddInt( d, TR_PREFS_KEY_ENCRYPTION, TR_ENCRYPTION_PREFERRED );
|
||||
break;
|
||||
case 912: tr_bencDictAddInt( d, TR_PREFS_KEY_ENCRYPTION, TR_ENCRYPTION_PREFERRED );
|
||||
case 912: tr_bencDictAddInt( d, TR_PREFS_KEY_ENCRYPTION, TR_CLEAR_PREFERRED );
|
||||
break;
|
||||
case TR_OPT_UNK:
|
||||
torrentPath = optarg;
|
||||
|
|
Loading…
Reference in a new issue