Ignore:
Timestamp:
Oct 22, 2009, 3:05:56 PM (12 years ago)
Author:
charles
Message:

(trunk libT) #2508: atom->port never updated

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/peer-mgr.h

    r9085 r9381  
    6060struct tr_peermsgs;
    6161
     62/**
     63***
     64**/
     65
     66/* opaque forward declaration */
     67struct peer_atom;
     68
     69const tr_address* tr_atomGetAddr( const struct peer_atom * );
     70
     71tr_port tr_atomGetPort( const struct peer_atom * atom );
     72
     73void tr_atomSetPort( struct peer_atom * atom, tr_port port );
     74
     75const char* tr_atomAddrStr( const struct peer_atom * );
     76
     77/**
     78***
     79**/
     80
    6281enum
    6382{
     
    6685    ENCRYPTION_PREFERENCE_NO
    6786};
    68 
    69 /* opaque forward declaration */
    70 struct peer_atom;
    7187
    7288/**
     
    88104
    89105    uint8_t                  encryption_preference;
    90     tr_port                  port;
    91106    tr_port                  dht_port;
    92     tr_address               addr;
    93107    struct tr_peerIo       * io;
    94108    struct peer_atom       * atom;
     
    110124tr_peer;
    111125
     126/**
     127***
     128**/
    112129
    113130int tr_pexCompare( const void * a, const void * b );
Note: See TracChangeset for help on using the changeset viewer.