1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 01:03:01 +00:00

(trunk cli) fix command-line arg mixup for encryption preference, reported by er13 and Whoopie

This commit is contained in:
Charles Kerr 2009-01-03 23:37:29 +00:00
parent ead8254b85
commit b0e9cf7b77

View file

@ -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;