From 32aeae138844c934f7c3a81ba960dbe8daa44429 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Wed, 1 Jul 2009 15:30:17 +0000 Subject: [PATCH] (trunk libT) #2252: Folders stay in the original folder after using "Set location" and moving folder(torrent) --- libtransmission/torrent.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libtransmission/torrent.c b/libtransmission/torrent.c index 4bbce89dc..40f912e87 100644 --- a/libtransmission/torrent.c +++ b/libtransmission/torrent.c @@ -2284,7 +2284,7 @@ setLocation( void * vdata ) if( !err ) { /* blow away the leftover subdirectories in the old location */ - tr_torrentDeleteLocalData( tor, unlink ); + tr_torrentDeleteLocalData( tor, remove ); /* set the new location and reverify */ tr_torrentSetDownloadDir( tor, location ); -- 2.40.0