Changeset 12132


Ignore:
Timestamp:
Mar 11, 2011, 3:00:10 PM (11 years ago)
Author:
jordan
Message:

(trunk libT) ensure that a tr_torrent's peer id is initialized when the tr_torrent is constructed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/torrent.c

    r12121 r12132  
    813813    tor->magicNumber = TORRENT_MAGIC_NUMBER;
    814814
     815    tr_peerIdInit( tor->peer_id );
     816
    815817    tr_sha1( tor->obfuscatedHash, "req2", 4,
    816818             tor->info.hash, SHA_DIGEST_LENGTH,
Note: See TracChangeset for help on using the changeset viewer.