Ignore:
Timestamp:
Apr 5, 2006, 9:27:10 AM (16 years ago)
Author:
joshe
Message:

Bind the default port when starting the first torrent

if it hasn't been done already.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/transmission.c

    r162 r202  
    289289    tor->status  = TR_STATUS_CHECK;
    290290    tor->tracker = tr_trackerInit( tor );
     291
     292    if( 0 > h->bindPort )
     293    {
     294        tr_setBindPort( h, TR_DEFAULT_PORT );
     295    }
    291296
    292297    tor->date = tr_date();
Note: See TracChangeset for help on using the changeset viewer.