Changeset 11273


Ignore:
Timestamp:
Sep 30, 2010, 5:59:30 PM (12 years ago)
Author:
Longinus00
Message:

(libt) #3588:Torrents with non power 2 pieceSizes fail hashchecks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/inout.c

    r10982 r11273  
    290290    uint32_t offset = 0;
    291291    tr_bool  success = TRUE;
    292     const size_t buflen = MAX_BLOCK_SIZE;
     292    const size_t buflen = tor->blockSize;
    293293    void * buffer = tr_valloc( buflen );
    294294    SHA_CTX  sha;
Note: See TracChangeset for help on using the changeset viewer.