Use LDAP_VERSION2 instead of LDAP_VERSION.

This commit is contained in:
Kurt Zeilenga 1999-06-07 18:45:52 +00:00
parent 81d8a939a7
commit f257ee858c

View File

@ -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 );