mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 03:12:22 +00:00
Fix typo in read only connection check
This commit is contained in:
parent
b6b8583663
commit
8c90a88818
@ -1,3 +1,8 @@
|
||||
Tue Jun 26 19:05:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
|
||||
|
||||
* src/remote_internal.c: Fix typo in checking for read only
|
||||
connection request
|
||||
|
||||
Tue Jun 26 19:04:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
|
||||
|
||||
* qemud/libvirtd.init.in, qemud/Makefile.am, libvirt.spec.in
|
||||
|
@ -350,7 +350,7 @@ remoteOpen (virConnectPtr conn, const char *uri_str, int flags)
|
||||
|
||||
case trans_unix: {
|
||||
if (!sockname) {
|
||||
if (flags & VIR_CONNECT_RO)
|
||||
if (flags & VIR_DRV_OPEN_RO)
|
||||
sockname = strdup (LIBVIRTD_UNIX_SOCKET_RO);
|
||||
else
|
||||
sockname = strdup (LIBVIRTD_UNIX_SOCKET);
|
||||
|
Loading…
x
Reference in New Issue
Block a user