Changeset 12188


Ignore:
Timestamp:
Mar 18, 2011, 5:11:42 PM (11 years ago)
Author:
jordan
Message:

(trunk libT) #4114 "crash on open r12168 in tau_sendto()" -- fixed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/announcer-udp.c

    r12184 r12188  
    593593        tr_bool remove_request = FALSE;
    594594        struct tau_announce_request * req = tr_ptrArrayNth( reqs, i );
    595         if( is_connected && !req->sent_at ) {
     595        if( is_connected && !req->sent_at && tracker->addr ) {
    596596            dbgmsg( tracker->key, "Sending an announce request" );
    597597            req->sent_at = now;
     
    619619        tr_bool remove_request = FALSE;
    620620        struct tau_scrape_request * req = tr_ptrArrayNth( reqs, i );
    621         if( is_connected && !req->sent_at ) {
     621        if( is_connected && !req->sent_at && tracker->addr ) {
    622622            dbgmsg( tracker->key, "Sending a scrape request" );
    623623            req->sent_at = now;
Note: See TracChangeset for help on using the changeset viewer.