/* $OpenLDAP$ */
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
*
- * Copyright 1998-2006 The OpenLDAP Foundation.
+ * Copyright 1998-2007 The OpenLDAP Foundation.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
*/
if ( ( !is_in && !ri->ri_exclude )
|| ( ( is_in && ri->ri_exclude )
- && ( !ocs || a->a_desc != slap_schema.si_ad_objectClass ) ) )
+ && ( !ocs || ml->sml_desc != slap_schema.si_ad_objectClass ) ) )
{
continue;
}
fprintf( fp, "%s: %s\n", did, type );
first = 0;
}
- vals[0] = a->a_nvals[i];
+ vals[0] = ml->sml_values[i];
print_vals( fp, &ml->sml_desc->ad_cname, vals );
ocs = 2;
}