(trunk libT) #2252: Folders stay in the original folder after using "Set location" and moving folder(torrent)

This commit is contained in:
Charles Kerr 2009-07-01 15:30:17 +00:00
parent 24746cff7f
commit 32aeae1388
1 changed files with 1 additions and 1 deletions

View File

@ -2284,7 +2284,7 @@ setLocation( void * vdata )
if( !err ) if( !err )
{ {
/* blow away the leftover subdirectories in the old location */ /* blow away the leftover subdirectories in the old location */
tr_torrentDeleteLocalData( tor, unlink ); tr_torrentDeleteLocalData( tor, remove );
/* set the new location and reverify */ /* set the new location and reverify */
tr_torrentSetDownloadDir( tor, location ); tr_torrentSetDownloadDir( tor, location );