/* $OpenLDAP$ */
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
*
- * Copyright 1998-2003 The OpenLDAP Foundation.
+ * Copyright 1998-2006 The OpenLDAP Foundation.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
break;
}
- if( mod->sm_bvalues != NULL ) {
- for ( i = 0; mod->sm_bvalues[i].bv_val != NULL; i++ ) {
+ if( mod->sm_values != NULL ) {
+ for ( i = 0; mod->sm_values[i].bv_val != NULL; i++ ) {
fprintf( wfp, "%s: %s\n", mod->sm_desc->ad_cname.bv_val,
- mod->sm_bvalues[i].bv_val /* binary! */ );
+ mod->sm_values[i].bv_val /* binary! */ );
}
}