[PATCH 3/3] remoteGetUNIXSocket: Complete variable rename for WIN32

Michal Privoznik mprivozn at redhat.com
Mon Jun 7 08:18:42 UTC 2021


In fcdcf8f70cf the remoteGetUNIXSocket() function was changed and
one new variable was introduced (among other things): @env_name.
However, for WIN32 case the variable changed name to @env_path
which builds mingw builds.

Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
---
 src/remote/remote_sockets.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/remote/remote_sockets.c b/src/remote/remote_sockets.c
index ed4e4a329c..0f85b999fd 100644
--- a/src/remote/remote_sockets.c
+++ b/src/remote/remote_sockets.c
@@ -163,7 +163,7 @@ remoteGetUNIXSocket(remoteDriverTransport transport,
 #ifndef WIN32
     const char *env_name = remoteGetDaemonPathEnv();
 #else
-    const char *env_path = NULL;
+    const char *env_name = NULL;
 #endif
 
     VIR_DEBUG("Choosing remote socket for transport=%s mode=%s driver=%s flags=0x%x",
-- 
2.31.1




More information about the libvir-list mailing list