* src/libvirt.c: Daniel P. Berrange pointed out a bug in virConnectOpen

Daniel
This commit is contained in:
Daniel Veillard 2006-06-14 13:03:04 +00:00
parent e85fa600e7
commit ef61dba0dc
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
Wed Jun 14 13:10:03 EDT 2006 Daniel Veillard <veillard@redhat.com>
* src/libvirt.c: Daniel P. Berrange pointed out a bug in virConnectOpen
Tue Jun 13 14:06:01 EDT 2006 Daniel P. Berrange <berrange@redhat.com>
* src/virsh.c: use 'double' instead of 'float' when calculating

View File

@ -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;
}