mirror of
https://github.com/transmission/transmission.git
synced 2026-04-20 00:40:03 +01:00
(trunk libT) by request, remove a clientData argument from tr_torrentDeleteLocalData() (reverts r9690)
This commit is contained in:
@@ -239,7 +239,7 @@ torrentRemove( tr_session * session,
|
||||
const tr_rpc_callback_status status = notify( session, TR_RPC_TORRENT_REMOVING, tor );
|
||||
tr_bool deleteFlag;
|
||||
if( tr_bencDictFindBool( args_in, "delete-local-data", &deleteFlag ) && deleteFlag )
|
||||
tr_torrentDeleteLocalData( tor, NULL, NULL );
|
||||
tr_torrentDeleteLocalData( tor, NULL );
|
||||
if( !( status & TR_RPC_NOREMOVE ) )
|
||||
tr_torrentRemove( tor );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user