Ignore:
Timestamp:
Mar 25, 2011, 5:34:26 AM (11 years ago)
Author:
jordan
Message:

(trunk libT) API cleanup of the tr_address functions to make them more consistent.

This is loosely related to #2910, but only in the sense of laying the groundwork for #2910's fix...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/fdlimit.c

    r12223 r12229  
    671671    if( fd >= 0 )
    672672    {
    673         if( ( gFd->socket_count < gFd->socket_limit ) && tr_ssToAddr( addr, port, &sock ) )
     673        if( ( gFd->socket_count < gFd->socket_limit )
     674            && tr_address_from_sockaddr_storage( addr, port, &sock ) )
    674675        {
    675676            ++gFd->socket_count;
Note: See TracChangeset for help on using the changeset viewer.