Ignore:
Timestamp:
May 22, 2009, 7:03:00 PM (13 years ago)
Author:
charles
Message:

(trunk libT) fix a couple of dead assignments, and a possible null pointer dereference, found by clang

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/handshake.c

    r8433 r8483  
    322322
    323323    /* This doesn't depend on whether the torrent is private. */
    324     if( tor->session->isDHTEnabled )
     324    if( tor && tor->session->isDHTEnabled )
    325325        tr_peerIoEnableDHT( handshake->io, HANDSHAKE_HAS_DHT( reserved ) );
    326326
Note: See TracChangeset for help on using the changeset viewer.