fix years old cut'n'paste

This commit is contained in:
Pierangelo Masarati 2013-12-28 11:03:55 +01:00
parent 5415e1e6de
commit 2358b35c58

View File

@ -120,7 +120,7 @@ ldap_create_deref_control(
ld->ld_errno = ldap_create_deref_control_value( ld, ds, &value );
if ( ld->ld_errno == LDAP_SUCCESS ) {
ld->ld_errno = ldap_control_create( LDAP_CONTROL_PAGEDRESULTS,
ld->ld_errno = ldap_control_create( LDAP_CONTROL_X_DEREF,
iscritical, &value, 0, ctrlp );
if ( ld->ld_errno != LDAP_SUCCESS ) {
LDAP_FREE( value.bv_val );