(trunk libT) by request, remove a clientData argument from tr_torrentDeleteLocalData() (reverts r9690)

This commit is contained in:
Charles Kerr
2009-12-09 03:51:21 +00:00
parent 5f9f97ee2a
commit 4b3b5dcd8a
4 changed files with 17 additions and 31 deletions

View File

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