# HG changeset patch
# User Dan Smith <danms(a)us.ibm.com>
# Date 1214941651 25200
# Node ID cb343a986592c25c487c53042ad889fa24ea9d97
# Parent e41428ac70e85d4cecc5fd0738680fc11de5e775
Report failure to deliver indication
Signed-off-by: Dan Smith <danms(a)us.ibm.com>
diff -r e41428ac70e8 -r cb343a986592 src/Virt_ComputerSystemIndication.c
--- a/src/Virt_ComputerSystemIndication.c Tue Jul 01 12:47:21 2008 -0700
+++ b/src/Virt_ComputerSystemIndication.c Tue Jul 01 12:47:31 2008 -0700
@@ -240,8 +240,12 @@
CU_DEBUG("Delivering Indication: %s",
CMGetCharPtr(CMObjectPathToString(ind_op, NULL)));
- stdi_deliver(broker, ctx, args, ind);
- CU_DEBUG("Delivered");
+ s = stdi_deliver(broker, ctx, args, ind);
+ if (s.rc == CMPI_RC_OK) {
+ CU_DEBUG("Indication delivered");
+ } else {
+ CU_DEBUG("Not delivered: %s", CMGetCharPtr(s.msg));
+ }
out:
return ret;