]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-shell/modify.c
ITS#6001 SID of queued CSN must match the one in the op
[openldap] / servers / slapd / back-shell / modify.c
index 2115217a4d53779ae431957d03f5e2702b06a064..1f0d1208bfa104bd99ad44dfe089f66c5ef0f3b1 100644 (file)
@@ -2,7 +2,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 1998-2004 The OpenLDAP Foundation.
+ * Copyright 1998-2009 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! */ );
                        }
                }