mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
Fix typo in read only connection check
This commit is contained 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);
|
||||
|
||||
Reference in New Issue
Block a user