Changeset 3507


Ignore:
Timestamp:
Oct 23, 2007, 3:53:57 PM (15 years ago)
Author:
charles
Message:

fix r3506 bug that prevented incoming peers from connecting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/handshake.c

    r3506 r3507  
    655655    int connectedToSelf;
    656656    char * client;
    657     const size_t sizeNeeded = HANDSHAKE_SIZE - PEER_ID_LEN;
     657    const size_t sizeNeeded = PEER_ID_LEN;
    658658    if( EVBUFFER_LENGTH(inbuf) < sizeNeeded )
    659659        return READ_MORE;
Note: See TracChangeset for help on using the changeset viewer.