osaf/libs/agents/saf/amfa/amf_agent.cc |  9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)


diff --git a/osaf/libs/agents/saf/amfa/amf_agent.cc 
b/osaf/libs/agents/saf/amfa/amf_agent.cc
--- a/osaf/libs/agents/saf/amfa/amf_agent.cc
+++ b/osaf/libs/agents/saf/amfa/amf_agent.cc
@@ -2014,9 +2014,12 @@ SaAisErrorT AmfAgent::Response(SaAmfHand
   /* get the pending response rec from list */
   m_AVA_HDL_PEND_RESP_GET(list_resp, rec, inv);
   if (!rec) {
-    TRACE_2("No pending response records found for this handle");
-    rc = SA_AIS_ERR_INVALID_PARAM;
-    goto done;
+         TRACE_2("No pending response records found for this handle");
+         if(ava_B4_ver_used(cb))
+                 rc = SA_AIS_ERR_NOT_EXIST;
+         else
+                 rc = SA_AIS_ERR_INVALID_PARAM;
+         goto done;
   }
 
   /* populate & send the 'AMF response' message */

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Opensaf-devel mailing list
Opensaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to