osaf/libs/agents/saf/amfa/ava_api.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)


diff --git a/osaf/libs/agents/saf/amfa/ava_api.c 
b/osaf/libs/agents/saf/amfa/ava_api.c
--- a/osaf/libs/agents/saf/amfa/ava_api.c
+++ b/osaf/libs/agents/saf/amfa/ava_api.c
@@ -1506,6 +1506,7 @@ SaAisErrorT saAmfProtectionGroupTrack(Sa
                                        memcpy(buf->notification, 
rsp_buf->notification,
                                               buf->numberOfItems * 
sizeof(SaAmfProtectionGroupNotificationT));
                                        rc = SA_AIS_ERR_NO_SPACE;
+                                       buf->numberOfItems = 
rsp_buf->numberOfItems;
 
                                }
                        } else {        /* if(create_memory == false) */
@@ -2294,6 +2295,7 @@ SaAisErrorT saAmfProtectionGroupTrack_4(
                                        
ava_cpy_protection_group_ntf(buf->notification, rsp_buf->notification,
                                                        buf->numberOfItems, 
SA_AMF_HARS_READY_FOR_ASSIGNMENT);
                                        rc = SA_AIS_ERR_NO_SPACE;
+                                       buf->numberOfItems = 
rsp_buf->numberOfItems;
                                }
                        } else {        /* if(create_memory == false) */
 

------------------------------------------------------------------------------
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

Reply via email to