#include <ac/stdlib.h>
#include <ac/string.h>
#include <ac/time.h>
-#include <ac/ctype.h>
#include "ldap-int.h"
if( tag == LBER_ERROR ) goto exit;
if (vlvinfop->ldvlv_attrvalue == NULL) {
- tag = ber_printf(ber, "t{ii}",
+ tag = ber_printf(ber, "t{iiN}",
LDAP_VLVBYINDEX_IDENTIFIER,
vlvinfop->ldvlv_offset,
vlvinfop->ldvlv_count);
if( tag == LBER_ERROR ) goto exit;
}
- tag = ber_printf(ber, /*{*/ "}");
+ tag = ber_printf(ber, /*{*/ "N}");
if( tag == LBER_ERROR ) goto exit;
- ld->ld_errno = ldap_int_create_control(
- LDAP_CONTROL_VLVREQUEST, ber, 1, ctrlp);
+ ld->ld_errno = ldap_create_control( LDAP_CONTROL_VLVREQUEST,
+ ber, 1, ctrlp);
ber_free(ber, 1);
return(ld->ld_errno);