mirror of
https://github.com/transmission/transmission
synced 2025-01-31 11:23:40 +00:00
(trunk libT) fix tau_send crash reported by Waldorf overnight in #4114
This commit is contained in:
parent
075a0a8b86
commit
4f6d031a9f
1 changed files with 1 additions and 1 deletions
|
@ -530,7 +530,7 @@ tau_tracker_upkeep( struct tau_tracker * tracker )
|
||||||
}
|
}
|
||||||
|
|
||||||
/* also need a valid connection ID... */
|
/* also need a valid connection ID... */
|
||||||
if( !is_connected && !tracker->is_connecting )
|
if( !is_connected && !tracker->is_connecting && tracker->addr )
|
||||||
{
|
{
|
||||||
struct evbuffer * buf = evbuffer_new( );
|
struct evbuffer * buf = evbuffer_new( );
|
||||||
tracker->is_connecting = TRUE;
|
tracker->is_connecting = TRUE;
|
||||||
|
|
Loading…
Reference in a new issue