]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
remoteGetUNIXSocket: Complete variable rename for WIN32
authorMichal Privoznik <mprivozn@redhat.com>
Sat, 5 Jun 2021 04:46:48 +0000 (06:46 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 7 Jun 2021 08:14:05 +0000 (10:14 +0200)
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@redhat.com>
src/remote/remote_sockets.c

index ed4e4a329c183c5cb8010a5d427cef2d6d09ace8..0f85b999fda5271e5eeb6e97f0944c67ed453e21 100644 (file)
@@ -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",