Ack but please ticket 713 since it is not closed. Again we should not have new 
tickets when the original ticket is still open.
/Hans

> -----Original Message-----
> From: Hans Nordebäck
> Sent: den 5 juni 2014 13:40
> To: Hans Feldt; [email protected]; [email protected]
> Cc: [email protected]
> Subject: [PATCH 1 of 1] amfd: create an su in dec_su_oper_state if not found 
> [#935]
> 
>  osaf/services/saf/amf/amfd/ckpt_dec.cc |  5 +++--
>  1 files changed, 3 insertions(+), 2 deletions(-)
> 
> 
> diff --git a/osaf/services/saf/amf/amfd/ckpt_dec.cc 
> b/osaf/services/saf/amf/amfd/ckpt_dec.cc
> --- a/osaf/services/saf/amf/amfd/ckpt_dec.cc
> +++ b/osaf/services/saf/amf/amfd/ckpt_dec.cc
> @@ -1334,8 +1334,9 @@ static uint32_t dec_su_oper_state(AVD_CL
>       TRACE_ENTER();
> 
>       osaf_decode_sanamet(&dec->i_uba, &name);
> -     AVD_SU *su = su_db->find(Amf::to_string(&name));
> -     osafassert(su != NULL);
> +
> +     AVD_SU *su = avd_su_get_or_create(&name);
> +
>       osaf_decode_uint32(&dec->i_uba, (uint32_t*)&su->saAmfSUOperState);
> 
>       cb->async_updt_cnt.su_updt++;

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Opensaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to