]> git.sur5r.net Git - openldap/blobdiff - libraries/libldap/sortctrl.c
fix non-printable flag detection; improve dn test (passes all but last in http:/...
[openldap] / libraries / libldap / sortctrl.c
index c1374a2c4c7256e0ea9cf3c7272e0f29493efb5c..23ea9f47d83c48f3a195ce8f179f9431e96dec32 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved.
+ * Copyright 1998-2002 The OpenLDAP Foundation, All Rights Reserved.
  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
  */
 /* Adapted for inclusion into OpenLDAP by Kurt D. Zeilenga */
@@ -327,7 +327,7 @@ ldap_create_sort_control (
        tag = ber_printf(ber, /*{*/ "N}");
        if( tag == LBER_ERROR ) goto exit;
 
-       ld->ld_errno = ldap_int_create_control( LDAP_CONTROL_SORTREQUEST,
+       ld->ld_errno = ldap_create_control( LDAP_CONTROL_SORTREQUEST,
                ber, isCritical, ctrlp);
 
        ber_free(ber, 1);