1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-02-21 13:46:52 +00:00

(trunk libT) #4377 "Incomplete Folder removed when sub-folder of Default Location" -- another revision to r12665

This commit is contained in:
Jordan Lee 2011-08-12 01:56:35 +00:00
parent 6d36b3d763
commit ecb2054493

View file

@ -2769,8 +2769,8 @@ deleteLocalData( tr_torrent * tor, tr_fileFunc func )
char * target_dir = tr_dirname( target );
tr_mkdirp( target_dir, 0777 );
rename( source, target );
tr_ptrArrayAppend( &files, target );
tr_free( target_dir );
tr_free( target );
tr_free( source );
tr_free( subpath );
}