1
0
Fork 0
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:
Jordan Lee 2011-03-13 14:18:35 +00:00
parent 075a0a8b86
commit 4f6d031a9f

View file

@ -530,7 +530,7 @@ tau_tracker_upkeep( struct tau_tracker * tracker )
}
/* 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( );
tracker->is_connecting = TRUE;