From 2522bb80902d2e7677a25a85fa597022f20f1147 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Thu, 20 Feb 2014 10:34:49 +0100 Subject: 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 Reviewed-by: Stefan Metzmacher --- source3/torture/wbc_async.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/torture/wbc_async.c b/source3/torture/wbc_async.c index 8af95951ee..1a7495acad 100644 --- a/source3/torture/wbc_async.c +++ b/source3/torture/wbc_async.c @@ -328,7 +328,7 @@ static const char *winbindd_socket_dir(void) if (nss_wrapper_enabled()) { const char *env_dir; - env_dir = getenv(WINBINDD_SOCKET_DIR_ENVVAR); + env_dir = getenv("SELFTEST_WINBINDD_SOCKET_DIR"); if (env_dir != NULL) { return env_dir; } -- cgit