[libvirt] [libvirt-glib] config: Fix typo preventing clock removal from a domain

Christophe Fergeau cfergeau at redhat.com
Thu Jan 2 11:03:27 UTC 2014


On Fri, Dec 06, 2013 at 12:10:29PM +0100, Christophe Fergeau wrote:
> Commit 1c8ce29 added a way to unset a GVirConfigDomainClock set on a
> GVirConfigDomain by calling gvir_config_domain_set_clock() with a NULL
> argument.
> However, a typo in a g_return_if_fail precondition prevents this code from
> ever being called: g_return_if_fail(clock != NULL) is used while it should
> have been g_return_if_fail(clock == NULL) as in all other preconditions in
> 1c8ce29.

Ping?

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140102/7e97912d/attachment-0001.sig>


More information about the libvir-list mailing list