From: Pierangelo Masarati Date: Sat, 28 Dec 2013 10:03:55 +0000 (+0100) Subject: fix years old cut'n'paste X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2358b35c587db2fb150de06b06a10dcc3c2f49b4;p=openldap fix years old cut'n'paste --- diff --git a/libraries/libldap/deref.c b/libraries/libldap/deref.c index 1313adece5..cf124f1bf2 100644 --- a/libraries/libldap/deref.c +++ b/libraries/libldap/deref.c @@ -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 );