Update of /cvsroot/sblim/sfcb
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13386
Modified Files:
instance.c
Log Message:
setProperty type DateTime added
Index: instance.c
===================================================================
RCS file: /cvsroot/sblim/sfcb/instance.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- instance.c 21 Jun 2005 22:50:51 -0000 1.6
+++ instance.c 28 Jun 2005 20:36:09 -0000 1.7
@@ -223,6 +223,12 @@
data.type=CMPI_chars;
data.state=CMPI_nullValue;
}
+ else if (type == CMPI_dateTime) {
+ if (value == NULL);
+ else {
+ data.state = CMPI_nullValue;
+ }
+
else if (type == CMPI_sint64 || type == CMPI_uint64 || type == CMPI_real64)
data.value = *value;
else data.value.Int = value->Int;
|