Changeset 10982


Ignore:
Timestamp:
Jul 8, 2010, 11:04:12 PM (12 years ago)
Author:
charles
Message:

(trunk libT) fix bug between the new inout checksum code and the new cache code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/inout.c

    r10961 r10982  
    3131#include "fdlimit.h"
    3232#include "inout.h"
     33#include "peer-common.h" /* MAX_BLOCK_SIZE */
    3334#include "platform.h"
    3435#include "stats.h"
     
    289290    uint32_t offset = 0;
    290291    tr_bool  success = TRUE;
    291     const size_t buflen = 1024 * 256; /* 256 KiB buffer */
     292    const size_t buflen = MAX_BLOCK_SIZE;
    292293    void * buffer = tr_valloc( buflen );
    293294    SHA_CTX  sha;
Note: See TracChangeset for help on using the changeset viewer.