mirror of https://gitee.com/openkylin/libvirt.git
* src/libvirt.c: Daniel P. Berrange pointed out a bug in virConnectOpen
Daniel
This commit is contained in:
parent
e85fa600e7
commit
ef61dba0dc
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue