mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 12:28:52 +00:00
(trunk libT) by request, add a clientData argument to tr_torrentDeleteLocalData()
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 );
|
||||
tr_torrentDeleteLocalData( tor, NULL, NULL );
|
||||
if( !( status & TR_RPC_NOREMOVE ) )
|
||||
tr_torrentRemove( tor );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user