Changeset 7648
- Timestamp:
- Jan 9, 2009, 6:39:30 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtransmission/torrent.c
r7632 r7648 435 435 const tr_ctor * ctor ) 436 436 { 437 int doStart; 438 uint64_t loaded; 439 uint64_t t; 440 tr_info * info = &tor->info; 441 static int nextUniqueId = 1; 437 int doStart; 438 uint64_t loaded; 439 uint64_t t; 440 const char * dir; 441 static int nextUniqueId = 1; 442 tr_info * info = &tor->info; 442 443 443 444 tr_globalLock( session ); … … 451 452 452 453 tor->blockSize = getBlockSize( info->pieceSize ); 454 455 if( !tr_ctorGetDownloadDir( ctor, TR_FORCE, &dir ) || 456 !tr_ctorGetDownloadDir( ctor, TR_FALLBACK, &dir ) ) 457 tor->downloadDir = tr_strdup( dir ); 453 458 454 459 tor->lastPieceSize = info->totalSize % info->pieceSize;
Note: See TracChangeset
for help on using the changeset viewer.