From: Jong Hyuk Choi Date: Wed, 3 Sep 2003 08:21:51 +0000 (+0000) Subject: Patch for ITS#2692 X-Git-Tag: OPENLDAP_REL_ENG_2_1_MP~752 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=aa8ff200124900b4d5f1ec715243830ec6381ae0;p=openldap Patch for ITS#2692 --- diff --git a/servers/slapd/ctxcsn.c b/servers/slapd/ctxcsn.c index 381784396f..92c80fa96c 100644 --- a/servers/slapd/ctxcsn.c +++ b/servers/slapd/ctxcsn.c @@ -166,7 +166,7 @@ slap_create_context_csn_entry( mod->sml_desc = NULL; ber_str2bv( "objectClass", strlen("objectClass"), 1, &mod->sml_type ); mod->sml_bvalues = ocbva; - mod->sml_nvalues = ocbva; + mod->sml_nvalues = NULL; *modtail = mod; modtail = &mod->sml_next; @@ -181,7 +181,7 @@ slap_create_context_csn_entry( mod->sml_desc = NULL; ber_str2bv( "structuralObjectClass", strlen("structuralObjectClass"), 1, &mod->sml_type ); mod->sml_bvalues = socbva; - mod->sml_nvalues = socbva; + mod->sml_nvalues = NULL; *modtail = mod; modtail = &mod->sml_next; @@ -197,7 +197,7 @@ slap_create_context_csn_entry( mod->sml_desc = NULL; ber_str2bv( "cn", strlen("cn"), 1, &mod->sml_type ); mod->sml_bvalues = cnbva; - mod->sml_nvalues = cnbva; + mod->sml_nvalues = NULL; *modtail = mod; modtail = &mod->sml_next; @@ -211,7 +211,7 @@ slap_create_context_csn_entry( mod->sml_desc = NULL; ber_str2bv( "contextCSN", strlen("contextCSN"), 1, &mod->sml_type ); mod->sml_bvalues = scbva; - mod->sml_nvalues = scbva; + mod->sml_nvalues = NULL; *modtail = mod; modtail = &mod->sml_next; } @@ -226,7 +226,7 @@ slap_create_context_csn_entry( ber_str2bv( "subtreeSpecification", strlen("subtreeSpecification"), 1, &mod->sml_type ); mod->sml_bvalues = ssbva; - mod->sml_nvalues = ssbva; + mod->sml_nvalues = NULL; *modtail = mod; modtail = &mod->sml_next; diff --git a/servers/slapd/syncrepl.c b/servers/slapd/syncrepl.c index d6e6ee6787..057afa5c78 100644 --- a/servers/slapd/syncrepl.c +++ b/servers/slapd/syncrepl.c @@ -771,7 +771,7 @@ syncrepl_message_to_entry( mod->sml_desc = NULL; mod->sml_type = tmp.sml_type; mod->sml_bvalues = tmp.sml_bvalues; - mod->sml_nvalues = tmp.sml_bvalues; + mod->sml_nvalues = NULL; *modtail = mod; modtail = &mod->sml_next; @@ -1381,7 +1381,7 @@ syncrepl_updateCookie( mod->sml_desc = NULL; ber_str2bv( "objectClass", strlen("objectClass"), 1, &mod->sml_type ); mod->sml_bvalues = ocbva; - mod->sml_nvalues = ocbva; + mod->sml_nvalues = NULL; *modtail = mod; modtail = &mod->sml_next; @@ -1397,7 +1397,7 @@ syncrepl_updateCookie( mod->sml_desc = NULL; ber_str2bv( "cn", strlen("cn"), 1, &mod->sml_type ); mod->sml_bvalues = cnbva; - mod->sml_nvalues = cnbva; + mod->sml_nvalues = NULL; *modtail = mod; modtail = &mod->sml_next; @@ -1411,7 +1411,7 @@ syncrepl_updateCookie( ber_str2bv( "syncreplCookie", strlen("syncreplCookie"), 1, &mod->sml_type ); mod->sml_bvalues = scbva; - mod->sml_nvalues = scbva; + mod->sml_nvalues = NULL; *modtail = mod; modtail = &mod->sml_next; @@ -1425,7 +1425,7 @@ syncrepl_updateCookie( ber_str2bv( "subtreeSpecification", strlen("subtreeSpecification"), 1, &mod->sml_type ); mod->sml_bvalues = ssbva; - mod->sml_nvalues = ssbva; + mod->sml_nvalues = NULL; *modtail = mod; modtail = &mod->sml_next;