mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-26 01:29:59 -05:00
Fix error in if() statement (==, not =)
This commit is contained in:
parent
07ce0a9935
commit
5a33b7509b
1 changed files with 1 additions and 1 deletions
|
|
@ -115,7 +115,7 @@ ldap_int_prepare_socket(LDAP *ld, int s, int proto )
|
|||
osip_debug(ld, "ldap_prepare_socket: %d\n", s,0,0);
|
||||
|
||||
#ifdef TCP_NODELAY
|
||||
if( proto = LDAP_PROTO_TCP ) {
|
||||
if( proto == LDAP_PROTO_TCP ) {
|
||||
int dummy = 1;
|
||||
if ( setsockopt( s, IPPROTO_TCP, TCP_NODELAY,
|
||||
(char*) &dummy, sizeof(dummy) ) == AC_SOCKET_ERROR )
|
||||
|
|
|
|||
Loading…
Reference in a new issue