mirror of
https://github.com/transmission/transmission
synced 2024-12-25 17:17:31 +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;
|
break;
|
||||||
case 910: tr_bencDictAddInt( d, TR_PREFS_KEY_ENCRYPTION, TR_ENCRYPTION_REQUIRED );
|
case 910: tr_bencDictAddInt( d, TR_PREFS_KEY_ENCRYPTION, TR_ENCRYPTION_REQUIRED );
|
||||||
break;
|
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;
|
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;
|
break;
|
||||||
case TR_OPT_UNK:
|
case TR_OPT_UNK:
|
||||||
torrentPath = optarg;
|
torrentPath = optarg;
|
||||||
|
|
Loading…
Reference in a new issue