Changeset 9440 for trunk/libtransmission/torrent.c
- Timestamp:
- Oct 30, 2009, 2:58:30 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtransmission/torrent.c
r9435 r9440 2354 2354 2355 2355 if( tor->info.fileCount > 1 ) 2356 { 2356 2357 deleteLocalData( tor, fileFunc ); 2357 else { 2358 } 2359 else 2360 { 2361 char * tmp; 2362 2358 2363 /* torrent only has one file */ 2359 2364 char * path = tr_buildPath( tor->currentDir, tor->info.files[0].name, NULL ); 2360 2365 fileFunc( path ); 2361 2366 tr_free( path ); 2367 2368 2369 tmp = tr_torrentBuildPartial( tor, 0 ); 2370 path = tr_buildPath( tor->currentDir, tmp, NULL ); 2371 fileFunc( path ); 2372 tr_free( path ); 2373 tr_free( tmp ); 2362 2374 } 2363 2375 }
Note: See TracChangeset
for help on using the changeset viewer.