diff --git a/cli/cli.c b/cli/cli.c index 343291d21..a96ea3fac 100644 --- a/cli/cli.c +++ b/cli/cli.c @@ -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;