1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 01:03:01 +00:00

(trunk libT) add an assertion to tr_torrentStop()

This commit is contained in:
Charles Kerr 2009-04-19 16:21:27 +00:00
parent dc6da4139d
commit 3c97a10a3e

View file

@ -1334,6 +1334,8 @@ stopTorrent( void * vtor )
void
tr_torrentStop( tr_torrent * tor )
{
assert( tr_isTorrent( tor ) );
if( tr_isTorrent( tor ) )
{
tr_globalLock( tor->session );