|
From: Chris B. <buc...@us...> - 2012-03-07 22:29:32
|
Update of /cvsroot/sblim/sfcb
In directory vz-cvs-3.sog:/tmp/cvs-serv20220
Modified Files:
cimAccountPassthroughProvider.c ChangeLog NEWS
Log Message:
[ 3426027 ] cimAccountPassThrough does not set return code
Index: NEWS
===================================================================
RCS file: /cvsroot/sblim/sfcb/NEWS,v
retrieving revision 1.657
retrieving revision 1.658
diff -u -d -r1.657 -r1.658
--- NEWS 7 Mar 2012 20:59:42 -0000 1.657
+++ NEWS 7 Mar 2012 22:29:30 -0000 1.658
@@ -48,6 +48,7 @@
- 3497950 SFCB Semaphore Handling Improvements
- 3498275 Remove __Namespace
- 3498044 RIEnabled conflicts with settable retries
+- 3426027 cimAccountPassThrough does not set return code
Changes in 1.3.13
=================
Index: cimAccountPassthroughProvider.c
===================================================================
RCS file: /cvsroot/sblim/sfcb/cimAccountPassthroughProvider.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- cimAccountPassthroughProvider.c 8 Jun 2011 22:00:12 -0000 1.1
+++ cimAccountPassthroughProvider.c 7 Mar 2012 22:29:29 -0000 1.2
@@ -64,6 +64,7 @@
const CMPIArgs * in, CMPIArgs * out)
{
CMPIStatus st = { CMPI_RC_OK, NULL };
+ CMPIUint8 ret_int = 1;
_SFCB_ENTER(TRACE_PROVIDERS, "CimAccountPassthroughProviderInvokeMethod");
@@ -147,6 +148,8 @@
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));
@@ -158,6 +161,8 @@
setStatus(&st, CMPI_RC_ERR_METHOD_NOT_FOUND, "Invalid request method");
}
+ CMReturnData (rslt, (CMPIValue *) &ret_int, CMPI_uint8);
+ CMReturnDone(rslt);
_SFCB_RETURN(st);
}
Index: ChangeLog
===================================================================
RCS file: /cvsroot/sblim/sfcb/ChangeLog,v
retrieving revision 1.734
retrieving revision 1.735
diff -u -d -r1.734 -r1.735
--- ChangeLog 7 Mar 2012 20:59:42 -0000 1.734
+++ ChangeLog 7 Mar 2012 22:29:29 -0000 1.735
@@ -1,5 +1,8 @@
2012-03-07 Chris Buccella <buc...@li...>
+ * cimAccountPassthroughProvider.c:
+ [ 3426027 ] cimAccountPassThrough does not set return code
+
* interopProvider.c, indCIMXMLHandler.c, test/xmltest/LD_modify*:
[ 3498932 ] Implement ModifyInstance for CIM_ListenerDestination
|