mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-15 03:01:09 +08:00
Use LDAP_VERSION2 instead of LDAP_VERSION.
This commit is contained in:
parent
81d8a939a7
commit
f257ee858c
@ -98,7 +98,7 @@ cldap_open( char *host, int port )
|
||||
return NULL;
|
||||
}
|
||||
|
||||
ld->ld_version = LDAP_VERSION;
|
||||
ld->ld_version = LDAP_VERSION2;
|
||||
|
||||
sock.sin_family = AF_INET;
|
||||
sock.sin_port = htons( port );
|
||||
|
Loading…
Reference in New Issue
Block a user