From 68d78c6330664019abaefa6e762caf50b93c989d Mon Sep 17 00:00:00 2001 From: ncteisen <ncteisen@gmail.com> Date: Thu, 13 Jul 2017 07:25:40 -0700 Subject: [PATCH] Add comment --- src/core/lib/support/env.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/core/lib/support/env.h b/src/core/lib/support/env.h index 392fcb6e4c..e1c3bdc66a 100644 --- a/src/core/lib/support/env.h +++ b/src/core/lib/support/env.h @@ -36,6 +36,10 @@ char *gpr_getenv(const char *name); /* Sets the the environment with the specified name to the specified value. */ void gpr_setenv(const char *name, const char *value); +/* This is a version of gpr_getenv that does not produce any output if it has to + use an insecure version of the function. It is ONLY to be used to solve the + problem in which we need to check an env variable to configure the verbosity + level of logging. So DO NOT USE THIS. */ char *gpr_getenv_silent(const char *name, char** dst); #ifdef __cplusplus -- GitLab