Changeset 7331 for trunk/libtransmission/torrent.c
- Timestamp:
- Dec 9, 2008, 5:01:49 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtransmission/torrent.c
r7329 r7331 1199 1199 1200 1200 void 1201 tr_torrentDeleteLocalData( tr_torrent * tor ) 1202 { 1203 tr_file_index_t i; 1204 1205 for( i=0; i<tor->info.fileCount; ++i ) 1206 { 1207 const tr_file * file = &tor->info.files[i]; 1208 char * path = tr_buildPath( tor->downloadDir, file->name, NULL ); 1209 tr_fdFileClose( path ); 1210 unlink( path ); 1211 tr_free( path ); 1212 } 1213 } 1214 1215 void 1201 1216 tr_torrentStop( tr_torrent * tor ) 1202 1217 {
Note: See TracChangeset
for help on using the changeset viewer.