Changeset 10277
- Timestamp:
- Feb 23, 2010, 7:29:21 AM (12 years ago)
- Location:
- trunk/libtransmission
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtransmission/makemeta.c
r10239 r10277 209 209 return ret; 210 210 211 buf = tr_ new( uint8_t,b->pieceSize );211 buf = tr_valloc( b->pieceSize ); 212 212 b->pieceIndex = 0; 213 213 totalRemain = b->totalSize; -
trunk/libtransmission/utils.c
r10275 r10277 1429 1429 out = tr_open_file_for_writing( newpath ); 1430 1430 buflen = stat( newpath, &st ) ? 4096 : st.st_blksize; 1431 buf = tr_ new( char,buflen );1431 buf = tr_valloc( buflen ); 1432 1432 while( bytesLeft > 0 ) 1433 1433 {
Note: See TracChangeset
for help on using the changeset viewer.