Ignore:
Timestamp:
Aug 12, 2008, 1:51:11 PM (13 years ago)
Author:
charles
Message:

readability improvments #1, #2, #3, #4. (muks)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/rpc.c

    r6490 r6496  
    569569            tr_sessionSetEncryption( h, TR_ENCRYPTION_REQUIRED );
    570570        else if( !strcmp( str, "tolerated" ) )
    571             tr_sessionSetEncryption( h, TR_PLAINTEXT_PREFERRED );
     571            tr_sessionSetEncryption( h, TR_CLEAR_PREFERRED );
    572572        else
    573573            tr_sessionSetEncryption( h, TR_ENCRYPTION_PREFERRED );
     
    628628                          tr_sessionIsSpeedLimitEnabled( h, TR_DOWN ) );
    629629    switch( tr_sessionGetEncryption( h ) ) {
    630         case TR_PLAINTEXT_PREFERRED: str = "tolerated"; break;
     630        case TR_CLEAR_PREFERRED: str = "tolerated"; break;
    631631        case TR_ENCRYPTION_REQUIRED: str = "required"; break;
    632632        default: str = "preferred"; break;
Note: See TracChangeset for help on using the changeset viewer.