]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Fix typo in read only connection check
authorDaniel P. Berrange <berrange@redhat.com>
Tue, 26 Jun 2007 23:05:54 +0000 (23:05 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 26 Jun 2007 23:05:54 +0000 (23:05 +0000)
ChangeLog
src/remote_internal.c

index 87a635e1d10511f408841e0c866fa748451a14be..d74ab79f8faaa7b17e47a676077195416e16ae9a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index 6d020de33c29b09dc93c8b1110c4365f58352154..1e1e6b65e1319c1f5b954261ffb122ee1b83f82a 100644 (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);