diff --git a/ChangeLog b/ChangeLog index 5aa9fc27c9..c2518bc7d6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Wed Jun 14 13:10:03 EDT 2006 Daniel Veillard + + * src/libvirt.c: Daniel P. Berrange pointed out a bug in virConnectOpen + Tue Jun 13 14:06:01 EDT 2006 Daniel P. Berrange * src/virsh.c: use 'double' instead of 'float' when calculating diff --git a/src/libvirt.c b/src/libvirt.c index 80a61d967c..5be855580e 100644 --- a/src/libvirt.c +++ b/src/libvirt.c @@ -226,7 +226,7 @@ virConnectOpen(const char *name) if (name == NULL) { name = "Xen"; for_xen = 1; - } else if (strncasecmp(name, "xen", 3)) { + } else if (!strncasecmp(name, "xen", 3)) { for_xen = 1; }