Ack, But I do have a hard time understanding the CSI attribute value management, especially the name and semantics of csi_name_value_pair_find_last_entry()...
Thanks, Hans On 11/25/2013 04:12 PM, nagendr...@oracle.com wrote: > osaf/services/saf/amf/amfd/csiattr.cc | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > > diff --git a/osaf/services/saf/amf/amfd/csiattr.cc > b/osaf/services/saf/amf/amfd/csiattr.cc > --- a/osaf/services/saf/amf/amfd/csiattr.cc > +++ b/osaf/services/saf/amf/amfd/csiattr.cc > @@ -579,6 +579,8 @@ static void csiattr_modify_apply(CcbUtil > */ > > memset(tmp_csi_attr->name_value.string_ptr, 0, > > strlen(tmp_csi_attr->name_value.string_ptr)); > + /* Decrement the num_attributes > as the value is deleted. */ > + csi->num_attributes--; > } else { > > avd_csi_remove_csiattr(csi, csiattr); > } > > ------------------------------------------------------------------------------ Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk _______________________________________________ Opensaf-devel mailing list Opensaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensaf-devel