]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-shell/modify.c
Merge branch 'mdb.master' of ssh://git-master.openldap.org/~git/git/openldap
[openldap] / servers / slapd / back-shell / modify.c
index e11713633397d49c512c3f1f080fe0526c4e5352..1ed67e703c5cd2d88997face8fd0e69f809a2475 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-2011 The OpenLDAP Foundation.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -46,7 +46,7 @@ shell_back_modify(
        Modification *mod;
        struct shellinfo        *si = (struct shellinfo *) op->o_bd->be_private;
        AttributeDescription *entry = slap_schema.si_ad_entry;
-       Modifications *ml  = op->oq_modify.rs_modlist;
+       Modifications *ml  = op->orm_modlist;
        Entry e;
        FILE                    *rfp, *wfp;
        int                     i;
@@ -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! */ );
                        }
                }