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

I will not commit without compiling first.
I will not commit without compiling first.
I will not commit without compiling first.
I will not commit without compiling first.
I will not commit without compiling first.
I will not commit without compiling first.
I will not commit without compiling first.
I will not commit without compiling first.
I will not commit without compiling first.
I will not commit without compiling first.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/transmission.c

    r202 r203  
    8686void tr_setBindPort( tr_handle_t * h, int port )
    8787{
    88     int sock;
     88    int sock = -1;
    8989    tr_torrent_t * tor;
    9090
     
    253253    tr_lockUnlock( &h->acceptLock );
    254254
     255    if( 0 > h->bindPort )
     256    {
     257        tr_setBindPort( h, TR_DEFAULT_PORT );
     258    }
     259
    255260    return tor;
    256261}
     
    289294    tor->status  = TR_STATUS_CHECK;
    290295    tor->tracker = tr_trackerInit( tor );
    291 
    292     if( 0 > h->bindPort )
    293     {
    294         tr_setBindPort( h, TR_DEFAULT_PORT );
    295     }
    296296
    297297    tor->date = tr_date();
Note: See TracChangeset for help on using the changeset viewer.