From b32e5cc25dec1f3addb04c854ac405e76b90b173 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Sun, 27 Sep 2009 18:48:00 +0000 Subject: [PATCH] (trunk libT) #2450: --find should not delete original --- libtransmission/torrent.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libtransmission/torrent.c b/libtransmission/torrent.c index 863795289..12fec371f 100644 --- a/libtransmission/torrent.c +++ b/libtransmission/torrent.c @@ -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 );