From: Daniel P. Berrange Date: Tue, 26 Jun 2007 23:05:54 +0000 (+0000) Subject: Fix typo in read only connection check X-Git-Tag: LIBVIRT_0_3_0~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8c90a88818570a15810b7ea5bc5a343c4940baf0;p=thirdparty%2Flibvirt.git Fix typo in read only connection check --- diff --git a/ChangeLog b/ChangeLog index 87a635e1d1..d74ab79f8f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Tue Jun 26 19:05:00 EST 2007 Daniel P. Berrange + + * src/remote_internal.c: Fix typo in checking for read only + connection request + Tue Jun 26 19:04:00 EST 2007 Daniel P. Berrange * qemud/libvirtd.init.in, qemud/Makefile.am, libvirt.spec.in diff --git a/src/remote_internal.c b/src/remote_internal.c index 6d020de33c..1e1e6b65e1 100644 --- a/src/remote_internal.c +++ b/src/remote_internal.c @@ -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);