--- src/imm/agent/imma_db.cc | 2 +- src/imm/immnd/immnd_main.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/imm/agent/imma_db.cc b/src/imm/agent/imma_db.cc index 071edbe74..80637e55f 100644 --- a/src/imm/agent/imma_db.cc +++ b/src/imm/agent/imma_db.cc @@ -621,7 +621,7 @@ int imma_oi_ccb_record_note_callback(IMMA_CLIENT_NODE *cl_node, rs = 1; } } - if (callback) { + if (tmp && callback) { if (callback->type == IMMA_CALLBACK_OI_CCB_CREATE && !(tmp->adminOwner)) { SaImmAttrValuesT_2 **attributes = (SaImmAttrValuesT_2 **)callback->attrValsForCreateUc; diff --git a/src/imm/immnd/immnd_main.c b/src/imm/immnd/immnd_main.c index 5280f0599..62c7b2478 100644 --- a/src/imm/immnd/immnd_main.c +++ b/src/imm/immnd/immnd_main.c @@ -489,6 +489,7 @@ int main(int argc, char *argv[]) fds[FD_CLM_INIT].fd = immnd_cb->clm_init_sel_obj.rmv_obj; fds[FD_CLM_INIT].events = POLLIN; + osaf_clock_gettime(CLOCK_MONOTONIC, &start_time); while (1) { /* Watch out for performance bug. Possibly change from event-count to recalculated timer. */ -- 2.17.1 _______________________________________________ Opensaf-devel mailing list Opensaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensaf-devel