From d67636722a5f37c7fe1b238ea66fe63d66a95cb5 Mon Sep 17 00:00:00 2001 From: Michal Privoznik Date: Sat, 5 Jun 2021 06:46:48 +0200 Subject: [PATCH] remoteGetUNIXSocket: Complete variable rename for WIN32 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 --- 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",