提交 8c90a888 编写于 作者: D Daniel P. Berrange

Fix typo in read only connection check

上级 b6b85836
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> Tue Jun 26 19:04:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
* qemud/libvirtd.init.in, qemud/Makefile.am, libvirt.spec.in * qemud/libvirtd.init.in, qemud/Makefile.am, libvirt.spec.in
......
...@@ -350,7 +350,7 @@ remoteOpen (virConnectPtr conn, const char *uri_str, int flags) ...@@ -350,7 +350,7 @@ remoteOpen (virConnectPtr conn, const char *uri_str, int flags)
case trans_unix: { case trans_unix: {
if (!sockname) { if (!sockname) {
if (flags & VIR_CONNECT_RO) if (flags & VIR_DRV_OPEN_RO)
sockname = strdup (LIBVIRTD_UNIX_SOCKET_RO); sockname = strdup (LIBVIRTD_UNIX_SOCKET_RO);
else else
sockname = strdup (LIBVIRTD_UNIX_SOCKET); sockname = strdup (LIBVIRTD_UNIX_SOCKET);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册