Not a proper commit message
/Hans

Skickat från min Sony Xperia™-smartphone


---- mahesh.va...@oracle.com skrev ----

osaf/libs/agents/saf/cpa/cpa_proc.c     |  2 +-
 osaf/services/saf/cpsv/cpnd/cpnd_proc.c |  2 ++
 2 files changed, 3 insertions(+), 1 deletions(-)


Now in the TrackCallback() the ioVector dtaBuff is set to NULL and readSize  
set to zero

diff --git a/osaf/libs/agents/saf/cpa/cpa_proc.c 
b/osaf/libs/agents/saf/cpa/cpa_proc.c
--- a/osaf/libs/agents/saf/cpa/cpa_proc.c
+++ b/osaf/libs/agents/saf/cpa/cpa_proc.c
@@ -542,7 +542,7 @@ static void cpa_proc_ckpt_arrival_ntfy(C
                                                         
callback->ioVector[i].sectionId = ckpt_data->sec_id;

                                                 
callback->ioVector[i].dataBuffer = NULL;
-                                               /*   
callback->ioVector[i].dataBuffer = ckpt_data->data; */
+                                               callback->ioVector[i].readSize 
= 0;
                                                 callback->ioVector[i].dataSize 
= ckpt_data->dataSize;
                                                 
callback->ioVector[i].dataOffset = ckpt_data->dataOffset;
                                                 ckpt_data = ckpt_data->next;
diff --git a/osaf/services/saf/cpsv/cpnd/cpnd_proc.c 
b/osaf/services/saf/cpsv/cpnd/cpnd_proc.c
--- a/osaf/services/saf/cpsv/cpnd/cpnd_proc.c
+++ b/osaf/services/saf/cpsv/cpnd/cpnd_proc.c
@@ -269,6 +269,8 @@ uint32_t cpnd_proc_ckpt_arrival_info_ntf
                         send_evt.info.cpa.info.arr_msg.mdest = 
in_evt->agent_mdest;
                         send_evt.info.cpa.info.arr_msg.num_of_elmts = 
in_evt->num_of_elmts;
                         send_evt.info.cpa.info.arr_msg.ckpt_data = 
in_evt->data;
+                       send_evt.info.cpa.info.arr_msg.ckpt_data->data = NULL;
+                       send_evt.info.cpa.info.arr_msg.ckpt_data->readSize = 0;

                         rc = cpnd_mds_msg_send(cb, NCSMDS_SVC_ID_CPA, 
ptr_cl_node->cnode->agent_mds_dest, &send_evt);
                 }

------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
Opensaf-devel mailing list
Opensaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-devel
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
Opensaf-devel mailing list
Opensaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to