Changeset 8960


Ignore:
Timestamp:
Aug 17, 2009, 6:49:21 PM (13 years ago)
Author:
jhujhiti
Message:

(trunk libT): do EAFNOSUPPORT check on socket() errno on all platforms

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/fdlimit.c

    r8935 r8960  
    524524        if( ( s = socket( domain, type, 0 ) ) < 0 )
    525525        {
    526 #ifdef SYS_DARWIN
    527526            if( sockerrno != EAFNOSUPPORT )
    528 #endif
    529             tr_err( _( "Couldn't create socket: %s" ),
    530                    tr_strerror( sockerrno ) );
     527                tr_err( _( "Couldn't create socket: %s" ),
     528                        tr_strerror( sockerrno ) );
    531529        }
    532530
Note: See TracChangeset for help on using the changeset viewer.