---
src/imm/agent/imma_proc.cc | 5 ++++-
src/imm/common/immsv_evt.c | 2 +-
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/imm/agent/imma_proc.cc b/src/imm/agent/imma_proc.cc
index 886b50c..20aaf7a 100644
--- a/src/imm/agent/imma_proc.cc
+++ b/src/imm/agent/imma_proc.cc
@@ -3544,7 +3544,10 @@ SaAisErrorT imma_evt_fake_evs(IMMA_CB *cb, IMMSV_EVT
*i_evt, IMMSV_EVT **o_evt,
if (proc_rc != NCSCC_RC_SUCCESS) {
TRACE_2("ERR_LIBRARY: Failed to pre-pack");
- rc = SA_AIS_ERR_LIBRARY;
+ if (proc_rc != SA_AIS_ERR_NO_RESOURCES)
+ rc = SA_AIS_ERR_LIBRARY;
+ else
+ rc = SA_AIS_ERR_NO_RESOURCES;
goto fail;
}
diff --git a/src/imm/common/immsv_evt.c b/src/imm/common/immsv_evt.c
index 88c5101..aef00d4 100644
--- a/src/imm/common/immsv_evt.c
+++ b/src/imm/common/immsv_evt.c
@@ -775,7 +775,7 @@ static uint32_t immsv_evt_enc_name_list(NCS_UBAID *o_ub,
IMMSV_OBJ_NAME_LIST *p)
if (objs >= IMMSV_MAX_OBJECTS) {
LOG_ER("TOO MANY Object Names line:%u", __LINE__);
- return NCSCC_RC_OUT_OF_MEM;
+ return SA_AIS_ERR_NO_RESOURCES;
}
return NCSCC_RC_SUCCESS;
}
--
2.7.4
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Opensaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-devel