]> git.sur5r.net Git - openldap/commitdiff
fix years old cut'n'paste
authorPierangelo Masarati <ando@OpenLDAP.org>
Sat, 28 Dec 2013 10:03:55 +0000 (11:03 +0100)
committerPierangelo Masarati <ando@OpenLDAP.org>
Sat, 28 Dec 2013 10:12:42 +0000 (11:12 +0100)
libraries/libldap/deref.c

index 1313adece5bb489c9f4125d3e0d78bbd502a0932..cf124f1bf299c326d00961899db76bc1a6d212d9 100644 (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 );