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