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/handshake.c

    r6490 r6496  
    316316            break;
    317317
    318         case TR_PLAINTEXT_PREFERRED:
     318        case TR_CLEAR_PREFERRED:
    319319            provide |= CRYPTO_PROVIDE_CRYPTO | CRYPTO_PROVIDE_PLAINTEXT;
    320320            break;
     
    341341            break;
    342342
    343         case TR_PLAINTEXT_PREFERRED:
     343        case TR_CLEAR_PREFERRED:
    344344            choices[nChoices++] = CRYPTO_PROVIDE_PLAINTEXT;
    345345            choices[nChoices++] = CRYPTO_PROVIDE_CRYPTO;
     
    10411041    if( tr_peerIoIsIncoming( handshake->io ) )
    10421042        setReadState( handshake, AWAITING_HANDSHAKE );
    1043     else if( encryptionMode != TR_PLAINTEXT_PREFERRED )
     1043    else if( encryptionMode != TR_CLEAR_PREFERRED )
    10441044        sendYa( handshake );
    10451045    else {
Note: See TracChangeset for help on using the changeset viewer.