>On Tue, Nov 24, 2009 at 04:16:16PM -0800, Davis, Arlin R wrote:
>
>> -    return ioctlsocket(s, FIONBIO, &nonblocking);
>> +    int ret, opt;
>> +
>> +    ret = ioctlsocket(s, FIONBIO, &nonblocking);
>> +
>> +    /* no delay for small packets */
>> +    if (!ret)
>> +            ret = setsockopt(s, IPPROTO_TCP, TCP_NODELAY, 
>> +                             (char *)&opt, sizeof(opt));
>> +    return ret;
>>  }
>
>You probably need to initialize opt..
>

Good catch. Thanks Jason._______________________________________________
ofw mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw

Reply via email to