Changeset 12585


Ignore:
Timestamp:
Jul 25, 2011, 8:46:56 PM (10 years ago)
Author:
jordan
Message:

(trunk libT) during the extended handshake, don't send the "m" dict if it doesn't have any entries.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/torrent-magnet.c

    r12226 r12585  
    328328    m = tor->incompleteMetadata;
    329329
     330fprintf( stderr, "%s:%d m %p a %d b %d\n", __FILE__, __LINE__, m, (m?( m->piecesNeededCount > 0 ):-1), (m?( m->piecesNeeded[0].requestedAt + MIN_REPEAT_INTERVAL_SECS < now ):-1) );
     331
    330332    if( ( m != NULL )
    331333        && ( m->piecesNeededCount > 0 )
Note: See TracChangeset for help on using the changeset viewer.