From: Adrian S. <a3s...@us...> - 2005-05-06 02:12:07
|
Update of /cvsroot/sblim/sfcb In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23621 Modified Files: cimXmlRequest.c Log Message: Closed [ 1193559 ] CMGetArg/CMGetArgAt return datum w/ type 0 The problem is a paramvalue without a type as part of the method call. <PARAMVALUE NAME="operation"> <VALUE>"Set"</VALUE> </PARAMVALUE> This is a wbemcli problem. sfcbd now defaults to string if no type is found. Index: cimXmlRequest.c =================================================================== RCS file: /cvsroot/sblim/sfcb/cimXmlRequest.c,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- cimXmlRequest.c 27 Apr 2005 11:10:41 -0000 1.9 +++ cimXmlRequest.c 6 May 2005 02:11:58 -0000 1.10 @@ -1644,6 +1644,8 @@ sreq.principal = setCharsMsgSegment(ctx->principal); for (p = req->paramValues.first; p; p = p->next) { + // this is a problem: - paramvalue without type + if (p->type==NULL) p->type=CMPI_string; CMPIValue val = str2CMPIValue(p->type, p->value.value, &p->valueRef); CMAddArg(in, p->name, &val, p->type); } |