mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
* 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
Block a user