Changeset 203 for trunk/libtransmission/transmission.c
- Timestamp:
- Apr 5, 2006, 9:37:18 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtransmission/transmission.c
r202 r203 86 86 void tr_setBindPort( tr_handle_t * h, int port ) 87 87 { 88 int sock ;88 int sock = -1; 89 89 tr_torrent_t * tor; 90 90 … … 253 253 tr_lockUnlock( &h->acceptLock ); 254 254 255 if( 0 > h->bindPort ) 256 { 257 tr_setBindPort( h, TR_DEFAULT_PORT ); 258 } 259 255 260 return tor; 256 261 } … … 289 294 tor->status = TR_STATUS_CHECK; 290 295 tor->tracker = tr_trackerInit( tor ); 291 292 if( 0 > h->bindPort )293 {294 tr_setBindPort( h, TR_DEFAULT_PORT );295 }296 296 297 297 tor->date = tr_date();
Note: See TracChangeset
for help on using the changeset viewer.