Skip to content

Commit 68d78c6

Browse files
committed
Add comment
1 parent 79764a3 commit 68d78c6

File tree

1 file changed

+4
-0
lines changed
  • src/core/lib/support

1 file changed

+4
-0
lines changed

src/core/lib/support/env.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ char *gpr_getenv(const char *name);
3636
/* Sets the the environment with the specified name to the specified value. */
3737
void gpr_setenv(const char *name, const char *value);
3838

39+
/* This is a version of gpr_getenv that does not produce any output if it has to
40+
use an insecure version of the function. It is ONLY to be used to solve the
41+
problem in which we need to check an env variable to configure the verbosity
42+
level of logging. So DO NOT USE THIS. */
3943
char *gpr_getenv_silent(const char *name, char** dst);
4044

4145
#ifdef __cplusplus

0 commit comments

Comments
 (0)