aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/support
diff options
context:
space:
mode:
authorGravatar Nicolas "Pixel" Noble <pixel@nobis-crew.org>2016-02-25 08:01:27 +0100
committerGravatar Nicolas "Pixel" Noble <pixel@nobis-crew.org>2016-02-25 08:01:27 +0100
commit12e600977c0fac27be664facb98ac81db9300f35 (patch)
tree58df63648574dadf45519bd74375629a879ce83c /src/core/support
parent72c6956c50b57a81b121c7ad9cbe80fa4181ac76 (diff)
clang-format all the things.
Diffstat (limited to 'src/core/support')
-rw-r--r--src/core/support/env_linux.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/core/support/env_linux.c b/src/core/support/env_linux.c
index 5863ad5682..fe51f846b7 100644
--- a/src/core/support/env_linux.c
+++ b/src/core/support/env_linux.c
@@ -63,7 +63,9 @@ char *gpr_getenv(const char *name) {
for (size_t i = 0; getenv_func == NULL && i < GPR_ARRAY_SIZE(names); i++) {
getenv_func = (getenv_type)dlsym(RTLD_DEFAULT, names[i]);
if (getenv_func != NULL && strstr(names[i], "secure") == NULL) {
- gpr_log(GPR_DEBUG, "Warning: insecure environment read function '%s' used", names[i]);
+ gpr_log(GPR_DEBUG,
+ "Warning: insecure environment read function '%s' used",
+ names[i]);
}
}
char *result = getenv_func(name);
@@ -72,7 +74,8 @@ char *gpr_getenv(const char *name) {
char *result = secure_getenv(name);
return result == NULL ? result : gpr_strdup(result);
#else
- gpr_log(GPR_DEBUG, "Warning: insecure environment read function '%s' used", "getenv");
+ gpr_log(GPR_DEBUG, "Warning: insecure environment read function '%s' used",
+ "getenv");
char *result = getenv(name);
return result == NULL ? result : gpr_strdup(result);
#endif