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 );