[Libvirt-cim] [PATCH 1 of 2] [CU] Add dup_instance function to libcmpiutil

Jay Gagnon grendel at linux.vnet.ibm.com
Tue Feb 5 20:58:10 UTC 2008


Dan Smith wrote:
> JG> +                *s = CMSetProperty(dest, (char *)(prop_name->hdl), 
> JG> +                                   &(data.value), data.type);
>
> Use CMGetCharPtr() here, instead of accessing prop_name->hdl
> directly.
>
> Looks good otherwise.
>
>   
I was wondering if there was a nicer way to do that.  I've really got to 
get better at finding the appropriate thing in cmpimacs.  Okay, will 
resend shortly.

-- 

-Jay




More information about the Libvirt-cim mailing list