svn commit: samba r14977 - in branches/SAMBA_4_0/source: auth/credentials lib/socket_wrapper

tridge at samba.org tridge at samba.org
Mon Apr 10 03:35:33 GMT 2006


Metze,

 > >  	case AF_INET:
 > > -		/* Silence some warnings */
 > > -#ifdef TCP_NODELAY
 > > -		if (optname == TCP_NODELAY) 
 > > -			return 0;
 > > -#endif
 > > +		return 0;
 > >  	default:
 > >  		errno = ENOPROTOOPT;
 > >  		return -1;
 > > 
 > 
 > Hi tridge,
 > 
 > is this really correct?

I think so. I don't think failing setsockopt() calls when using
socketwrapper is at all helpful. 

Can you think of an example that we should fail?

Cheers, Tridge


More information about the samba-technical mailing list