Ignore:
Timestamp:
Dec 1, 2008, 8:51:01 PM (13 years ago)
Author:
charles
Message:

(libT) janitorial: use the tr_port type whenever we have a `port' as a function argument or as a field in a struct.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/rpc-server.c

    r7173 r7224  
    5151    tr_bool            isPasswordEnabled;
    5252    tr_bool            isWhitelistEnabled;
    53     uint16_t           port;
     53    tr_port            port;
    5454    struct evhttp *    httpd;
    5555    tr_handle *        session;
     
    567567void
    568568tr_rpcSetPort( tr_rpc_server * server,
    569                uint16_t        port )
     569               tr_port         port )
    570570{
    571571    if( server->port != port )
     
    578578}
    579579
    580 uint16_t
     580tr_port
    581581tr_rpcGetPort( const tr_rpc_server * server )
    582582{
     
    685685tr_rpcInit( tr_handle *  session,
    686686            int          isEnabled,
    687             uint16_t     port,
     687            tr_port      port,
    688688            int          isWhitelistEnabled,
    689689            const char * whitelist,
Note: See TracChangeset for help on using the changeset viewer.