Changeset 1379:ccb25401e072 in roaraudio


Ignore:
Timestamp:
03/25/09 13:40:00 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

*really* only set TCP options if we have IPv4 supprort enabled

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/file.c

    r1378 r1379  
    110110  r += write(out, buf, len); 
    111111 
    112 #ifdef __linux__ 
     112#if defined(__linux__) && defined(ROAR_HAVE_IPV4) 
    113113 if ( cork_old != -1 ) 
    114114  setsockopt(out, IPPROTO_TCP, TCP_CORK, &cork_old, cork_len); 
Note: See TracChangeset for help on using the changeset viewer.