Changeset 10961 for trunk/libtransmission/inout.c
- Timestamp:
- Jul 7, 2010, 4:31:07 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtransmission/inout.c
r10904 r10961 31 31 #include "fdlimit.h" 32 32 #include "inout.h" 33 #include "peer-common.h" /* MAX_BLOCK_SIZE */34 33 #include "platform.h" 35 34 #include "stats.h" … … 290 289 uint32_t offset = 0; 291 290 tr_bool success = TRUE; 292 const size_t buflen = MAX_BLOCK_SIZE;293 uint8_t * buffer = tr_new( uint8_t,buflen );291 const size_t buflen = 1024 * 256; /* 256 KiB buffer */ 292 void * buffer = tr_valloc( buflen ); 294 293 SHA_CTX sha; 295 294
Note: See TracChangeset
for help on using the changeset viewer.