From 2358b35c587db2fb150de06b06a10dcc3c2f49b4 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Sat, 28 Dec 2013 11:03:55 +0100 Subject: [PATCH] fix years old cut'n'paste --- libraries/libldap/deref.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 );