summaryrefslogtreecommitdiffstats
path: root/source4/libcli
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2014-02-20 10:34:49 +0100
committerStefan Metzmacher <metze@samba.org>2014-04-17 14:56:06 +0200
commit2522bb80902d2e7677a25a85fa597022f20f1147 (patch)
tree190e9a597dda6cbc104659e141762ac3e7d781e6 /source4/libcli
parentc29fb2e6157c90e7f0c6b37e9923152d999e76dc (diff)
downloadsamba-2522bb80902d2e7677a25a85fa597022f20f1147.tar.gz
samba-2522bb80902d2e7677a25a85fa597022f20f1147.tar.xz
samba-2522bb80902d2e7677a25a85fa597022f20f1147.zip
selftest: Rename WINBINDD_SOCKET_DIR environment variable.
It is very confusing if the env var uses the same name as the define in the source code. So prefix it with SELFTEST. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source4/libcli')
-rw-r--r--source4/libcli/wbclient/wbclient.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/wbclient/wbclient.c b/source4/libcli/wbclient/wbclient.c
index 61566233ec5..bb894356843 100644
--- a/source4/libcli/wbclient/wbclient.c
+++ b/source4/libcli/wbclient/wbclient.c
@@ -61,7 +61,7 @@ static const char *winbindd_socket_dir(void)
#ifdef SOCKET_WRAPPER
const char *env_dir;
- env_dir = getenv(WINBINDD_SOCKET_DIR_ENVVAR);
+ env_dir = getenv("SELFTEST_WINBINDD_SOCKET_DIR");
if (env_dir) {
return env_dir;
}