fix typo when updating session settings through rpc; update strings and appcast

This commit is contained in:
Mitchell Livingston 2008-06-06 05:01:28 +00:00
parent dec4847b3f
commit 3bc2f91d2d
3 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@
Transmission 0.72 and earlier: Complete your downloads before upgrading or you will lose data!]]></description>
<pubDate>Wed, 21 May 2008 17:01:00 -0400</pubDate>
<enclosure sparkle:version="5890" sparkle:shortVersionString="1.21" url="http://mirrors.m0k.org/transmission/files/Transmission-1.21.dmg" length="2983745" type="application/octet-stream"/>
<enclosure sparkle:version="5890" sparkle:shortVersionString="1.21" sparkle:minimumSystemVersion="10.4.11" url="http://mirrors.m0k.org/transmission/files/Transmission-1.21.dmg" length="2983745" type="application/octet-stream"/>
</item>
</channel>

View File

@ -820,7 +820,7 @@
//encryption
tr_encryption_mode encryptionMode = tr_sessionGetEncryption(fHandle);
[fDefaults setBool: encryptionMode != TR_PLAINTEXT_PREFERRED forKey: @"EncryptionPrefer"];
[fDefaults setBool: encryptionMode == TR_ENCRYPTION_PREFERRED forKey: @"EncryptionPrefer"];
[fDefaults setBool: encryptionMode == TR_ENCRYPTION_REQUIRED forKey: @"EncryptionRequire"];
//download directory
NSString * downloadLocation = [[NSString stringWithUTF8String: tr_sessionGetDownloadDir(fHandle)] stringByStandardizingPath];