remoteGetUNIXSocket: Complete variable rename for WIN32

In fcdcf8f70c 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>
This commit is contained in:
Michal Privoznik 2021-06-05 06:46:48 +02:00
parent a14dc154ab
commit d67636722a

View 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",