(trunk libT) #2450: --find should not delete original

This commit is contained in:
Charles Kerr 2009-09-27 18:48:00 +00:00
parent b63a9fb17c
commit b32e5cc25d
1 changed files with 2 additions and 1 deletions

View File

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