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

Make tr_trackerAnnouncePulse() just return safely if there's no tracker initialized.

This commit is contained in:
Charles Kerr 2007-06-28 04:28:23 +00:00
parent 81dfe09b5e
commit 37234a3e34

View file

@ -301,6 +301,9 @@ void tr_trackerAnnouncePulse( tr_tracker_t * tc, int * peerCount,
struct tclist * next;
struct tchead * tier;
if( tc == NULL )
return;
*peerCount = 0;
*peerCompact = NULL;