]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/add.c
Sync with HEAD (ready for 2.3 "release"?)
[openldap] / servers / slapd / add.c
index 39480b5c932bc3e1547531581a98860ab86b7e8e..537129fdd41b5cde0f88d91fdf21ec0ad3bc700a 100644 (file)
@@ -120,6 +120,7 @@ do_add( Operation *op, SlapReply *rs )
 
                mod  = (Modifications *) ch_malloc( sizeof(Modifications) );
                mod->sml_op = LDAP_MOD_ADD;
+               mod->sml_flags = 0;
                mod->sml_next = NULL;
                mod->sml_desc = NULL;
                mod->sml_type = tmp.sml_type;
@@ -612,6 +613,7 @@ slap_entry2mods(
                mod = (Modifications *) malloc( sizeof( Modifications ));
                
                mod->sml_op = LDAP_MOD_REPLACE;
+               mod->sml_flags = 0;
 
                mod->sml_type = a_new_desc->ad_cname;