Fix typo in read only connection check

This commit is contained in:
Daniel P. Berrange 2007-06-26 23:05:54 +00:00
parent b6b8583663
commit 8c90a88818
2 changed files with 6 additions and 1 deletions

View File

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

View File

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