]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-shell/modify.c
ITS#3796 fix IDL cache lock setup/teardown
[openldap] / servers / slapd / back-shell / modify.c
index e11713633397d49c512c3f1f080fe0526c4e5352..f74aabef194cee91749864eb5c8bd92019322750 100644 (file)
@@ -2,7 +2,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 1998-2003 The OpenLDAP Foundation.
+ * Copyright 1998-2005 The OpenLDAP Foundation.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -103,10 +103,10 @@ shell_back_modify(
                        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! */ );
                        }
                }