Ignore:
Timestamp:
Jul 30, 2007, 6:04:10 PM (15 years ago)
Author:
charles
Message:

add portability wrapper for in_port_t...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/peerparse.h

    r2531 r2555  
    430430static int parsePort( tr_peer_t * peer, uint8_t * p, int len )
    431431{
    432     in_port_t port;
     432    tr_port_t port;
    433433
    434434    if( len != 2 )
     
    438438    }
    439439
    440     port = *( (in_port_t *) p );
     440    port = *( (tr_port_t *) p );
    441441    peer_dbg( "GET  port %d", ntohs( port ) );
    442442
Note: See TracChangeset for help on using the changeset viewer.