mirror of
https://github.com/transmission/transmission
synced 2024-12-24 08:43:27 +00:00
Make tr_trackerAnnouncePulse() just return safely if there's no tracker initialized.
This commit is contained in:
parent
81dfe09b5e
commit
37234a3e34
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue