From: Chris B. <buc...@us...> - 2012-03-07 22:32:24
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "SFCB - Small Footprint CIM Broker". The branch, master has been updated via 98ad8ffee77d6a23482560af9e3f8b8fb86d8970 (commit) from bd262159fae69092cd44011b6944d76e38059099 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 98ad8ffee77d6a23482560af9e3f8b8fb86d8970 Author: buccella <buc...@li...> Date: Wed Mar 7 17:32:14 2012 -0500 [ 3426027 ] cimAccountPassThrough does not set return code ----------------------------------------------------------------------- Summary of changes: diff --git a/ChangeLog b/ChangeLog index 97ccbe3..28a8655 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2012-03-07 Chris Buccella <buc...@li...> + * cimAccountPassthroughProvider.c: + [ 3426027 ] cimAccountPassThrough does not set return code + * indCIMXMLHandler.c, interopProvider.c, test/xmltest/LD_modify*: [ 3498932 ] Implement ModifyInstance for CIM_ListenerDestination diff --git a/NEWS b/NEWS index 0c2f6f5..06613b2 100644 --- a/NEWS +++ b/NEWS @@ -110,6 +110,7 @@ Bugs Fixed: - 3497765 Better Error Handling in sfcb Provider Manager and Driver - 3497950 SFCB Semaphore Handling Improvements - 3498275 Remove __Namespace +- 3426027 cimAccountPassThrough does not set return code Changes in 1.3.13 ================= diff --git a/cimAccountPassthroughProvider.c b/cimAccountPassthroughProvider.c index b41f803..70b346d 100644 --- a/cimAccountPassthroughProvider.c +++ b/cimAccountPassthroughProvider.c @@ -64,6 +64,7 @@ CimAccountPassthroughProviderInvokeMethod(CMPIMethodMI * mi, const CMPIArgs * in, CMPIArgs * out) { CMPIStatus st = { CMPI_RC_OK, NULL }; + CMPIUint8 ret_int = 1; _SFCB_ENTER(TRACE_PROVIDERS, "CimAccountPassthroughProviderInvokeMethod"); @@ -150,6 +151,8 @@ CimAccountPassthroughProviderInvokeMethod(CMPIMethodMI * mi, CMPIValue av; av.string = st.msg; CMAddArg(out, "Message", &av, CMPI_string); + if (st.rc == CMPI_RC_OK) + ret_int = 0; } else { /* no caInst; probably wrong principal (UserName didn't match) */ _SFCB_TRACE(1, ("--- Invalid request method: %s", methodName)); @@ -161,6 +164,8 @@ CimAccountPassthroughProviderInvokeMethod(CMPIMethodMI * mi, setStatus(&st, CMPI_RC_ERR_METHOD_NOT_FOUND, "Invalid request method"); } + CMReturnData (rslt, (CMPIValue *) &ret_int, CMPI_uint8); + CMReturnDone(rslt); _SFCB_RETURN(st); } hooks/post-receive -- SFCB - Small Footprint CIM Broker |